home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.5 for Developers / QuickTime 1.5 for Developers.iso / System Stuff / Video Digitizers / RasterOps / RasterOps Drivers / RasterOps Drivers.rsrc / DRVR_130_.RasterOps MediaTime PIP 1.5d2.txt < prev    next >
Text File  |  1992-10-15  |  517KB  |  9,488 lines

  1. # name: .RasterOps MediaTime PIP
  2. # flags: 0x1C00 (ENABLE_CONTROL, ENABLE_STATUS, NEED_GOODBYE)
  3. # delay: 0
  4. # event mask: 0x0000
  5. # menu id: 0
  6. # open label: 0006
  7. # prime label: 000A
  8. # control label: 000E
  9. # status label: 0012
  10. # close label: 0016
  11. 00000000  0000 0000                ori.b      D0, 0x0
  12. 00000004  0000 6000                ori.b      D0, 0x0
  13. open: // at 00000006 (misaligned)
  14. 00000008  0012 6000                ori.b      [A2], 0x0
  15. prime: // at 0000000A (misaligned)
  16. 0000000C  0014 6000                ori.b      [A4], 0x0
  17. control: // at 0000000E (misaligned)
  18. 00000010  0016 6000                ori.b      [A6], 0x0
  19. status: // at 00000012 (misaligned)
  20. 00000014  0018 6000                ori.b      [A0]+, 0x0
  21. close: // at 00000016 (misaligned)
  22. 00000018  001A 487A                ori.b      [A2]+, 0x7A /* 'z' */
  23. 0000001C  2D7C 6016 487A 2F22      move.l     [A6 + 0x2F22], 0x6016487A
  24. 00000024  6010                     bra        +0x12 /* 00000036 */
  25. 00000026  487A 2F9A                pea.l      [PC + 0x2F9A /* 00002FC2, value 0x4E56FFB2 */]
  26. 0000002A  600A                     bra        +0xC /* 00000036 */
  27. 0000002C  487A 50DE                pea.l      [PC + 0x50DE /* 0000510C, value 0x4E56FFD4 */]
  28. 00000030  6004                     bra        +0x6 /* 00000036 */
  29. 00000032  487A 2F1E                pea.l      [PC + 0x2F1E /* 00002F52, value 0x4E560000 'NV\0\0', cstring "NV" */]
  30. label00000036:
  31. 00000036  48E7 00C0                movem.l    -[A7], A0,A1
  32. 0000003A  4267                     clr.w      -[A7]
  33. 0000003C  2F08                     move.l     -[A7], A0
  34. 0000003E  2F09                     move.l     -[A7], A1
  35. 00000040  206F 0012                movea.l    A0, [A7 + 0x12]
  36. 00000044  4E90                     jsr        [A0]
  37. 00000046  301F                     move.w     D0, [A7]+
  38. 00000048  4CDF 0300                movem.l    A0,A1, [A7]+
  39. 0000004C  584F                     addq.w     A7, 4
  40. 0000004E  0828 0001 0006           btst.b     [A0 + 0x6], 0x1
  41. 00000054  6604                     bne        +0x6 /* 0000005A */
  42. 00000056  2F38 08FC                move.l     -[A7], [0x000008FC /* JIODone */]
  43. label0000005A:
  44. 0000005A  4E75                     rts
  45. fn0000005C:
  46. 0000005C  4E56 0000                link       A6, 0
  47. 00000060  48E7 0700                movem.l    -[A7], D5,D6,D7
  48. 00000064  3A2E 000A                move.w     D5, [A6 + 0xA]
  49. 00000068  3C05                     move.w     D6, D5
  50. 0000006A  4A46                     tst.w      D6
  51. 0000006C  6D10                     blt        +0x12 /* 0000007E */
  52. label0000006E:
  53. 0000006E  3E38 0D00                move.w     D7, [0x00000D00 /* TimeDBRA */]
  54. 00000072  4A47                     tst.w      D7
  55. 00000074  6D04                     blt        +0x6 /* 0000007A */
  56. label00000076:
  57. 00000076  51CF FFFE                dbf        D7, -0x4 /* 00000076 */
  58. label0000007A:
  59. 0000007A  51CE FFF2                dbf        D6, -0x10 /* 0000006E */
  60. label0000007E:
  61. 0000007E  4CEE 00E0 FFF4           movem.l    D5,D6,D7, [A6 - 0xC]
  62. 00000084  4E5E                     unlink     A6
  63. 00000086  4E75                     rts
  64. fn00000088:
  65. 00000088  4E56 FFFE                link       A6, -0x0002
  66. 0000008C  2F0C                     move.l     -[A7], A4
  67. 0000008E  286E 0008                movea.l    A4, [A6 + 0x8]
  68. 00000092  D9FC 00FE 6034           add.l      A4, 0xFE6034
  69. 00000098  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  70. 0000009E  43EE FFFF                lea.l      A1, [A6 - 0x1]
  71. 000000A2  2049                     movea.l    A0, A1
  72. 000000A4  1010                     move.b     D0, [A0]
  73. 000000A6  A05D                     syscall    SwapMMUMode
  74. 000000A8  1080                     move.b     [A0], D0
  75. label000000AA:
  76. 000000AA  7001                     moveq.l    D0, 0x01
  77. 000000AC  C094                     and.l      D0, [A4]
  78. 000000AE  7201                     moveq.l    D1, 0x01
  79. 000000B0  B280                     cmp.l      D1, D0
  80. 000000B2  67F6                     beq        -0x8 /* 000000AA */
  81. label000000B4:
  82. 000000B4  7001                     moveq.l    D0, 0x01
  83. 000000B6  C094                     and.l      D0, [A4]
  84. 000000B8  67FA                     beq        -0x4 /* 000000B4 */
  85. 000000BA  43EE FFFF                lea.l      A1, [A6 - 0x1]
  86. 000000BE  2049                     movea.l    A0, A1
  87. 000000C0  1010                     move.b     D0, [A0]
  88. 000000C2  A05D                     syscall    SwapMMUMode
  89. 000000C4  1080                     move.b     [A0], D0
  90. 000000C6  286E FFFA                movea.l    A4, [A6 - 0x6]
  91. 000000CA  4E5E                     unlink     A6
  92. 000000CC  4E75                     rts
  93. fn000000CE:
  94. 000000CE  4E56 FFFE                link       A6, -0x0002
  95. 000000D2  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  96. 000000D6  2A2E 000C                move.l     D5, [A6 + 0xC]
  97. 000000DA  286E 0008                movea.l    A4, [A6 + 0x8]
  98. 000000DE  0C6E 0084 0012           cmpi.w     [A6 + 0x12], 0x84
  99. 000000E4  6606                     bne        +0x8 /* 000000EC */
  100. 000000E6  3C3C 03FF                move.w     D6, 0x3FF
  101. 000000EA  6004                     bra        +0x6 /* 000000F0 */
  102. label000000EC:
  103. 000000EC  3C3C 00FF                move.w     D6, 0xFF
  104. label000000F0:
  105. 000000F0  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  106. 000000F6  43EE FFFF                lea.l      A1, [A6 - 0x1]
  107. 000000FA  2049                     movea.l    A0, A1
  108. 000000FC  1010                     move.b     D0, [A0]
  109. 000000FE  A05D                     syscall    SwapMMUMode
  110. 00000100  1080                     move.b     [A0], D0
  111. 00000102  383C 01FF                move.w     D4, 0x1FF
  112. label00000106:
  113. 00000106  3E06                     move.w     D7, D6
  114. 00000108  4A47                     tst.w      D7
  115. 0000010A  6D06                     blt        +0x8 /* 00000112 */
  116. label0000010C:
  117. 0000010C  28C5                     move.l     [A4]+, D5
  118. 0000010E  51CF FFFC                dbf        D7, -0x6 /* 0000010C */
  119. label00000112:
  120. 00000112  51CC FFF2                dbf        D4, -0x10 /* 00000106 */
  121. 00000116  43EE FFFF                lea.l      A1, [A6 - 0x1]
  122. 0000011A  2049                     movea.l    A0, A1
  123. 0000011C  1010                     move.b     D0, [A0]
  124. 0000011E  A05D                     syscall    SwapMMUMode
  125. 00000120  1080                     move.b     [A0], D0
  126. 00000122  4CEE 10F0 FFEA           movem.l    D4,D5,D6,D7,A4, [A6 - 0x16]
  127. 00000128  4E5E                     unlink     A6
  128. 0000012A  4E75                     rts
  129. fn0000012C:
  130. 0000012C  4E56 FFF6                link       A6, -0x000A
  131. 00000130  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  132. 00000134  3A2E 002A                move.w     D5, [A6 + 0x2A]
  133. 00000138  302E 001A                move.w     D0, [A6 + 0x1A]
  134. 0000013C  48C0                     ext.l      D0
  135. 0000013E  7210                     moveq.l    D1, 0x10
  136. 00000140  E3A8                     lsl        D0, D1
  137. 00000142  322E 001E                move.w     D1, [A6 + 0x1E]
  138. 00000146  48C1                     ext.l      D1
  139. 00000148  E189                     lsl        D1, 8
  140. 0000014A  8280                     or.l       D1, D0
  141. 0000014C  302E 0022                move.w     D0, [A6 + 0x22]
  142. 00000150  48C0                     ext.l      D0
  143. 00000152  2800                     move.l     D4, D0
  144. 00000154  8881                     or.l       D4, D1
  145. 00000156  2D7C 0000 0400 FFFA      move.l     [A6 - 0x6], 0x400
  146. 0000015E  302E 000A                move.w     D0, [A6 + 0xA]
  147. 00000162  48C0                     ext.l      D0
  148. 00000164  4C3C 0800 0000           movem.w    A3, 0x0
  149. 0000016A  1000                     move.b     D0, D0
  150. 0000016C  D0AE 002C                add.l      D0, [A6 + 0x2C]
  151. 00000170  322E 000E                move.w     D1, [A6 + 0xE]
  152. 00000174  48C1                     ext.l      D1
  153. 00000176  E581                     asl        D1, 2
  154. 00000178  2841                     movea.l    A4, D1
  155. 0000017A  D9C0                     add.l      A4, D0
  156. 0000017C  302E 0016                move.w     D0, [A6 + 0x16]
  157. 00000180  48C0                     ext.l      D0
  158. 00000182  322E 000E                move.w     D1, [A6 + 0xE]
  159. 00000186  48C1                     ext.l      D1
  160. 00000188  9081                     sub.l      D0, D1
  161. 0000018A  91AE FFFA                sub.l      [A6 - 0x6], D0
  162. 0000018E  7002                     moveq.l    D0, 0x02
  163. 00000190  B06E 0026                cmp.w      D0, [A6 + 0x26]
  164. 00000194  6600 00BA                bne        +0xBC /* 00000250 */
  165. 00000198  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  166. 0000019E  43EE FFFF                lea.l      A1, [A6 - 0x1]
  167. 000001A2  2049                     movea.l    A0, A1
  168. 000001A4  1010                     move.b     D0, [A0]
  169. 000001A6  A05D                     syscall    SwapMMUMode
  170. 000001A8  1080                     move.b     [A0], D0
  171. 000001AA  4A45                     tst.w      D5
  172. 000001AC  674A                     beq        +0x4C /* 000001F8 */
  173. 000001AE  2C3C 8000 0000           move.l     D6, 0x80000000
  174. 000001B4  302E 000A                move.w     D0, [A6 + 0xA]
  175. 000001B8  48C0                     ext.l      D0
  176. 000001BA  2D40 FFF6                move.l     [A6 - 0xA], D0
  177. 000001BE  602A                     bra        +0x2C /* 000001EA */
  178. label000001C0:
  179. 000001C0  302E 000E                move.w     D0, [A6 + 0xE]
  180. 000001C4  48C0                     ext.l      D0
  181. 000001C6  2E00                     move.l     D7, D0
  182. 000001C8  6006                     bra        +0x8 /* 000001D0 */
  183. label000001CA:
  184. 000001CA  8D9C                     or.l       [A4]+, D6
  185. 000001CC  2007                     move.l     D0, D7
  186. 000001CE  5287                     addq.l     D7, 1
  187. label000001D0:
  188. 000001D0  302E 0016                move.w     D0, [A6 + 0x16]
  189. 000001D4  48C0                     ext.l      D0
  190. 000001D6  B087                     cmp.l      D0, D7
  191. 000001D8  6EF0                     bgt        -0xE /* 000001CA */
  192. 000001DA  202E FFFA                move.l     D0, [A6 - 0x6]
  193. 000001DE  E580                     asl        D0, 2
  194. 000001E0  D9C0                     add.l      A4, D0
  195. 000001E2  202E FFF6                move.l     D0, [A6 - 0xA]
  196. 000001E6  52AE FFF6                addq.l     [A6 - 0xA], 1
  197. label000001EA:
  198. 000001EA  302E 0012                move.w     D0, [A6 + 0x12]
  199. 000001EE  48C0                     ext.l      D0
  200. 000001F0  B0AE FFF6                cmp.l      D0, [A6 - 0xA]
  201. 000001F4  6ECA                     bgt        -0x34 /* 000001C0 */
  202. 000001F6  6048                     bra        +0x4A /* 00000240 */
  203. label000001F8:
  204. 000001F8  2C3C 00FF FFFF           move.l     D6, 0xFFFFFF
  205. 000001FE  302E 000A                move.w     D0, [A6 + 0xA]
  206. 00000202  48C0                     ext.l      D0
  207. 00000204  2D40 FFF6                move.l     [A6 - 0xA], D0
  208. 00000208  602A                     bra        +0x2C /* 00000234 */
  209. label0000020A:
  210. 0000020A  302E 000E                move.w     D0, [A6 + 0xE]
  211. 0000020E  48C0                     ext.l      D0
  212. 00000210  2E00                     move.l     D7, D0
  213. 00000212  6006                     bra        +0x8 /* 0000021A */
  214. label00000214:
  215. 00000214  CD9C                     and.l      [A4]+, D6
  216. 00000216  2007                     move.l     D0, D7
  217. 00000218  5287                     addq.l     D7, 1
  218. label0000021A:
  219. 0000021A  302E 0016                move.w     D0, [A6 + 0x16]
  220. 0000021E  48C0                     ext.l      D0
  221. 00000220  B087                     cmp.l      D0, D7
  222. 00000222  6EF0                     bgt        -0xE /* 00000214 */
  223. 00000224  202E FFFA                move.l     D0, [A6 - 0x6]
  224. 00000228  E580                     asl        D0, 2
  225. 0000022A  D9C0                     add.l      A4, D0
  226. 0000022C  202E FFF6                move.l     D0, [A6 - 0xA]
  227. 00000230  52AE FFF6                addq.l     [A6 - 0xA], 1
  228. label00000234:
  229. 00000234  302E 0012                move.w     D0, [A6 + 0x12]
  230. 00000238  48C0                     ext.l      D0
  231. 0000023A  B0AE FFF6                cmp.l      D0, [A6 - 0xA]
  232. 0000023E  6ECA                     bgt        -0x34 /* 0000020A */
  233. label00000240:
  234. 00000240  43EE FFFF                lea.l      A1, [A6 - 0x1]
  235. 00000244  2049                     movea.l    A0, A1
  236. 00000246  1010                     move.b     D0, [A0]
  237. 00000248  A05D                     syscall    SwapMMUMode
  238. 0000024A  1080                     move.b     [A0], D0
  239. 0000024C  6000 0110                bra        +0x112 /* 0000035E */
  240. label00000250:
  241. 00000250  4A6E 0026                tst.w      [A6 + 0x26]
  242. 00000254  6700 0086                beq        +0x88 /* 000002DC */
  243. 00000258  4A45                     tst.w      D5
  244. 0000025A  6708                     beq        +0xA /* 00000264 */
  245. 0000025C  203C 8000 0000           move.l     D0, 0x80000000
  246. 00000262  6002                     bra        +0x4 /* 00000266 */
  247. label00000264:
  248. 00000264  7000                     moveq.l    D0, 0x00
  249. label00000266:
  250. 00000266  2C04                     move.l     D6, D4
  251. 00000268  8C80                     or.l       D6, D0
  252. 0000026A  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  253. 00000270  43EE FFFF                lea.l      A1, [A6 - 0x1]
  254. 00000274  2049                     movea.l    A0, A1
  255. 00000276  1010                     move.b     D0, [A0]
  256. 00000278  A05D                     syscall    SwapMMUMode
  257. 0000027A  1080                     move.b     [A0], D0
  258. 0000027C  302E 000A                move.w     D0, [A6 + 0xA]
  259. 00000280  48C0                     ext.l      D0
  260. 00000282  2D40 FFF6                move.l     [A6 - 0xA], D0
  261. 00000286  6038                     bra        +0x3A /* 000002C0 */
  262. label00000288:
  263. 00000288  302E 000E                move.w     D0, [A6 + 0xE]
  264. 0000028C  48C0                     ext.l      D0
  265. 0000028E  2E00                     move.l     D7, D0
  266. 00000290  6014                     bra        +0x16 /* 000002A6 */
  267. label00000292:
  268. 00000292  203C 00FF FFFF           move.l     D0, 0xFFFFFF
  269. 00000298  C094                     and.l      D0, [A4]
  270. 0000029A  B880                     cmp.l      D4, D0
  271. 0000029C  6602                     bne        +0x4 /* 000002A0 */
  272. 0000029E  2886                     move.l     [A4], D6
  273. label000002A0:
  274. 000002A0  584C                     addq.w     A4, 4
  275. 000002A2  2007                     move.l     D0, D7
  276. 000002A4  5287                     addq.l     D7, 1
  277. label000002A6:
  278. 000002A6  302E 0016                move.w     D0, [A6 + 0x16]
  279. 000002AA  48C0                     ext.l      D0
  280. 000002AC  B087                     cmp.l      D0, D7
  281. 000002AE  6EE2                     bgt        -0x1C /* 00000292 */
  282. 000002B0  202E FFFA                move.l     D0, [A6 - 0x6]
  283. 000002B4  E580                     asl        D0, 2
  284. 000002B6  D9C0                     add.l      A4, D0
  285. 000002B8  202E FFF6                move.l     D0, [A6 - 0xA]
  286. 000002BC  52AE FFF6                addq.l     [A6 - 0xA], 1
  287. label000002C0:
  288. 000002C0  302E 0012                move.w     D0, [A6 + 0x12]
  289. 000002C4  48C0                     ext.l      D0
  290. 000002C6  B0AE FFF6                cmp.l      D0, [A6 - 0xA]
  291. 000002CA  6EBC                     bgt        -0x42 /* 00000288 */
  292. 000002CC  43EE FFFF                lea.l      A1, [A6 - 0x1]
  293. 000002D0  2049                     movea.l    A0, A1
  294. 000002D2  1010                     move.b     D0, [A0]
  295. 000002D4  A05D                     syscall    SwapMMUMode
  296. 000002D6  1080                     move.b     [A0], D0
  297. 000002D8  6000 0084                bra        +0x86 /* 0000035E */
  298. label000002DC:
  299. 000002DC  4A45                     tst.w      D5
  300. 000002DE  6708                     beq        +0xA /* 000002E8 */
  301. 000002E0  203C 8000 0000           move.l     D0, 0x80000000
  302. 000002E6  6002                     bra        +0x4 /* 000002EA */
  303. label000002E8:
  304. 000002E8  7000                     moveq.l    D0, 0x00
  305. label000002EA:
  306. 000002EA  2C00                     move.l     D6, D0
  307. 000002EC  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  308. 000002F2  43EE FFFF                lea.l      A1, [A6 - 0x1]
  309. 000002F6  2049                     movea.l    A0, A1
  310. 000002F8  1010                     move.b     D0, [A0]
  311. 000002FA  A05D                     syscall    SwapMMUMode
  312. 000002FC  1080                     move.b     [A0], D0
  313. 000002FE  302E 000A                move.w     D0, [A6 + 0xA]
  314. 00000302  48C0                     ext.l      D0
  315. 00000304  2D40 FFF6                move.l     [A6 - 0xA], D0
  316. 00000308  603C                     bra        +0x3E /* 00000346 */
  317. label0000030A:
  318. 0000030A  302E 000E                move.w     D0, [A6 + 0xE]
  319. 0000030E  48C0                     ext.l      D0
  320. 00000310  2E00                     move.l     D7, D0
  321. 00000312  6018                     bra        +0x1A /* 0000032C */
  322. label00000314:
  323. 00000314  2A3C 00FF FFFF           move.l     D5, 0xFFFFFF
  324. 0000031A  CA94                     and.l      D5, [A4]
  325. 0000031C  B885                     cmp.l      D4, D5
  326. 0000031E  6706                     beq        +0x8 /* 00000326 */
  327. 00000320  2005                     move.l     D0, D5
  328. 00000322  8086                     or.l       D0, D6
  329. 00000324  2880                     move.l     [A4], D0
  330. label00000326:
  331. 00000326  584C                     addq.w     A4, 4
  332. 00000328  2007                     move.l     D0, D7
  333. 0000032A  5287                     addq.l     D7, 1
  334. label0000032C:
  335. 0000032C  302E 0016                move.w     D0, [A6 + 0x16]
  336. 00000330  48C0                     ext.l      D0
  337. 00000332  B087                     cmp.l      D0, D7
  338. 00000334  6EDE                     bgt        -0x20 /* 00000314 */
  339. 00000336  202E FFFA                move.l     D0, [A6 - 0x6]
  340. 0000033A  E580                     asl        D0, 2
  341. 0000033C  D9C0                     add.l      A4, D0
  342. 0000033E  202E FFF6                move.l     D0, [A6 - 0xA]
  343. 00000342  52AE FFF6                addq.l     [A6 - 0xA], 1
  344. label00000346:
  345. 00000346  302E 0012                move.w     D0, [A6 + 0x12]
  346. 0000034A  48C0                     ext.l      D0
  347. 0000034C  B0AE FFF6                cmp.l      D0, [A6 - 0xA]
  348. 00000350  6EB8                     bgt        -0x46 /* 0000030A */
  349. 00000352  43EE FFFF                lea.l      A1, [A6 - 0x1]
  350. 00000356  2049                     movea.l    A0, A1
  351. 00000358  1010                     move.b     D0, [A0]
  352. 0000035A  A05D                     syscall    SwapMMUMode
  353. 0000035C  1080                     move.b     [A0], D0
  354. label0000035E:
  355. 0000035E  4CEE 10F0 FFE2           movem.l    D4,D5,D6,D7,A4, [A6 - 0x1E]
  356. 00000364  4E5E                     unlink     A6
  357. 00000366  4E75                     rts
  358. fn00000368:
  359. 00000368  4E56 FFF4                link       A6, -0x000C
  360. 0000036C  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  361. 00000370  286E 0010                movea.l    A4, [A6 + 0x10]
  362. 00000374  7E00                     moveq.l    D7, 0x00
  363. 00000376  7C00                     moveq.l    D6, 0x00
  364. 00000378  1D7C 0001 FFFD           move.b     [A6 - 0x3], 0x1
  365. 0000037E  3A2C 072C                move.w     D5, [A4 + 0x72C]
  366. 00000382  3A2C 072E                move.w     D5, [A4 + 0x72E]
  367. 00000386  426E FFFE                clr.w      [A6 - 0x2]
  368. 0000038A  302C 071C                move.w     D0, [A4 + 0x71C]
  369. 0000038E  48C0                     ext.l      D0
  370. 00000390  7218                     moveq.l    D1, 0x18
  371. 00000392  E3A8                     lsl        D0, D1
  372. 00000394  2A00                     move.l     D5, D0
  373. 00000396  8ABC F000 0000           or.l       D5, 0xF0000000
  374. 0000039C  283C 00FE 6018           move.l     D4, 0xFE6018
  375. 000003A2  8885                     or.l       D4, D5
  376. 000003A4  203C 00FE 7018           move.l     D0, 0xFE7018
  377. 000003AA  8085                     or.l       D0, D5
  378. 000003AC  2D40 FFF4                move.l     [A6 - 0xC], D0
  379. 000003B0  203C 00FE 6064           move.l     D0, 0xFE6064
  380. 000003B6  8085                     or.l       D0, D5
  381. 000003B8  2D40 FFF8                move.l     [A6 - 0x8], D0
  382. 000003BC  302E 000A                move.w     D0, [A6 + 0xA]
  383. 000003C0  5940                     subq.w     D0, 4
  384. 000003C2  6706                     beq        +0x8 /* 000003CA */
  385. 000003C4  5940                     subq.w     D0, 4
  386. 000003C6  670A                     beq        +0xC /* 000003D2 */
  387. 000003C8  6010                     bra        +0x12 /* 000003DA */
  388. label000003CA:
  389. 000003CA  397C 0003 0722           move.w     [A4 + 0x722], 0x3
  390. 000003D0  600E                     bra        +0x10 /* 000003E0 */
  391. label000003D2:
  392. 000003D2  397C 0004 0722           move.w     [A4 + 0x722], 0x4
  393. 000003D8  6006                     bra        +0x8 /* 000003E0 */
  394. label000003DA:
  395. 000003DA  396E 000A 0722           move.w     [A4 + 0x722], [A6 + 0xA]
  396. label000003E0:
  397. 000003E0  43EE FFFD                lea.l      A1, [A6 - 0x3]
  398. 000003E4  2049                     movea.l    A0, A1
  399. 000003E6  1010                     move.b     D0, [A0]
  400. 000003E8  A05D                     syscall    SwapMMUMode
  401. 000003EA  1080                     move.b     [A0], D0
  402. 000003EC  2044                     movea.l    A0, D4
  403. 000003EE  3D68 0002 FFFE           move.w     [A6 - 0x2], [A0 + 0x2]
  404. 000003F4  2044                     movea.l    A0, D4
  405. 000003F6  7000                     moveq.l    D0, 0x00
  406. 000003F8  2080                     move.l     [A0], D0
  407. 000003FA  206E FFF4                movea.l    A0, [A6 - 0xC]
  408. 000003FE  1210                     move.b     D1, [A0]
  409. 00000400  49C1                     lea.l      A4, D1
  410. 00000402  2C01                     move.l     D6, D1
  411. 00000404  0286 0000 00FC           andi.l     D6, 0xFC
  412. 0000040A  206E FFF8                movea.l    A0, [A6 - 0x8]
  413. 0000040E  2E10                     move.l     D7, [A0]
  414. 00000410  43EE FFFD                lea.l      A1, [A6 - 0x3]
  415. 00000414  2049                     movea.l    A0, A1
  416. 00000416  1010                     move.b     D0, [A0]
  417. 00000418  A05D                     syscall    SwapMMUMode
  418. 0000041A  1080                     move.b     [A0], D0
  419. 0000041C  302E 000A                move.w     D0, [A6 + 0xA]
  420. 00000420  5340                     subq.w     D0, 1
  421. 00000422  670E                     beq        +0x10 /* 00000432 */
  422. 00000424  5340                     subq.w     D0, 1
  423. 00000426  6712                     beq        +0x14 /* 0000043A */
  424. 00000428  5540                     subq.w     D0, 2
  425. 0000042A  6722                     beq        +0x24 /* 0000044E */
  426. 0000042C  5940                     subq.w     D0, 4
  427. 0000042E  6732                     beq        +0x34 /* 00000462 */
  428. 00000430  6042                     bra        +0x44 /* 00000474 */
  429. label00000432:
  430. 00000432  0287 FFFF FFF9           andi.l     D7, 0xFFFFFFF9
  431. 00000438  603A                     bra        +0x3C /* 00000474 */
  432. label0000043A:
  433. 0000043A  0287 FFFF FFF9           andi.l     D7, 0xFFFFFFF9
  434. 00000440  0087 0000 0002           ori.l      D7, 0x2
  435. 00000446  0086 0000 0001           ori.l      D6, 0x1
  436. 0000044C  6026                     bra        +0x28 /* 00000474 */
  437. label0000044E:
  438. 0000044E  0287 FFFF FFF9           andi.l     D7, 0xFFFFFFF9
  439. 00000454  0087 0000 0004           ori.l      D7, 0x4
  440. 0000045A  0086 0000 0002           ori.l      D6, 0x2
  441. 00000460  6012                     bra        +0x14 /* 00000474 */
  442. label00000462:
  443. 00000462  0287 FFFF FFF9           andi.l     D7, 0xFFFFFFF9
  444. 00000468  0087 0000 0006           ori.l      D7, 0x6
  445. 0000046E  0086 0000 0003           ori.l      D6, 0x3
  446. label00000474:
  447. 00000474  4A6E 000E                tst.w      [A6 + 0xE]
  448. 00000478  6708                     beq        +0xA /* 00000482 */
  449. 0000047A  2F05                     move.l     -[A7], D5
  450. 0000047C  4EBA FC0A                jsr        [PC - 0x3F6 /* 00000088 */]
  451. 00000480  584F                     addq.w     A7, 4
  452. label00000482:
  453. 00000482  1D7C 0001 FFFD           move.b     [A6 - 0x3], 0x1
  454. 00000488  43EE FFFD                lea.l      A1, [A6 - 0x3]
  455. 0000048C  2049                     movea.l    A0, A1
  456. 0000048E  1010                     move.b     D0, [A0]
  457. 00000490  A05D                     syscall    SwapMMUMode
  458. 00000492  1080                     move.b     [A0], D0
  459. 00000494  206E FFF4                movea.l    A0, [A6 - 0xC]
  460. 00000498  1086                     move.b     [A0], D6
  461. 0000049A  206E FFF8                movea.l    A0, [A6 - 0x8]
  462. 0000049E  2087                     move.l     [A0], D7
  463. 000004A0  7003                     moveq.l    D0, 0x03
  464. 000004A2  C06E FFFE                and.w      D0, [A6 - 0x2]
  465. 000004A6  7200                     moveq.l    D1, 0x00
  466. 000004A8  3200                     move.w     D1, D0
  467. 000004AA  4A81                     tst.l      D1
  468. 000004AC  2044                     movea.l    A0, D4
  469. 000004AE  2081                     move.l     [A0], D1
  470. 000004B0  43EE FFFD                lea.l      A1, [A6 - 0x3]
  471. 000004B4  2049                     movea.l    A0, A1
  472. 000004B6  1010                     move.b     D0, [A0]
  473. 000004B8  A05D                     syscall    SwapMMUMode
  474. 000004BA  1080                     move.b     [A0], D0
  475. 000004BC  7001                     moveq.l    D0, 0x01
  476. 000004BE  B06E 000A                cmp.w      D0, [A6 + 0xA]
  477. 000004C2  6676                     bne        +0x78 /* 0000053A */
  478. 000004C4  7000                     moveq.l    D0, 0x00
  479. 000004C6  102C 074E                move.b     D0, [A4 + 0x74E]
  480. 000004CA  4A80                     tst.l      D0
  481. 000004CC  6624                     bne        +0x26 /* 000004F2 */
  482. 000004CE  426C 0728                clr.w      [A4 + 0x728]
  483. 000004D2  426C 072A                clr.w      [A4 + 0x72A]
  484. 000004D6  2F0C                     move.l     -[A7], A4
  485. 000004D8  302C 072A                move.w     D0, [A4 + 0x72A]
  486. 000004DC  48C0                     ext.l      D0
  487. 000004DE  2F00                     move.l     -[A7], D0
  488. 000004E0  302C 0728                move.w     D0, [A4 + 0x728]
  489. 000004E4  48C0                     ext.l      D0
  490. 000004E6  2F00                     move.l     -[A7], D0
  491. 000004E8  4EBA 0174                jsr        [PC + 0x174 /* 0000065E */]
  492. 000004EC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  493. 000004F0  6048                     bra        +0x4A /* 0000053A */
  494. label000004F2:
  495. 000004F2  302C 072C                move.w     D0, [A4 + 0x72C]
  496. 000004F6  48C0                     ext.l      D0
  497. 000004F8  322C 0750                move.w     D1, [A4 + 0x750]
  498. 000004FC  48C1                     ext.l      D1
  499. 000004FE  9081                     sub.l      D0, D1
  500. 00000500  322C 0728                move.w     D1, [A4 + 0x728]
  501. 00000504  48C1                     ext.l      D1
  502. 00000506  B081                     cmp.l      D0, D1
  503. 00000508  6C0C                     bge        +0xE /* 00000516 */
  504. 0000050A  302C 072C                move.w     D0, [A4 + 0x72C]
  505. 0000050E  906C 0750                sub.w      D0, [A4 + 0x750]
  506. 00000512  3940 0728                move.w     [A4 + 0x728], D0
  507. label00000516:
  508. 00000516  302C 072E                move.w     D0, [A4 + 0x72E]
  509. 0000051A  48C0                     ext.l      D0
  510. 0000051C  322C 0752                move.w     D1, [A4 + 0x752]
  511. 00000520  48C1                     ext.l      D1
  512. 00000522  9081                     sub.l      D0, D1
  513. 00000524  322C 072A                move.w     D1, [A4 + 0x72A]
  514. 00000528  48C1                     ext.l      D1
  515. 0000052A  B081                     cmp.l      D0, D1
  516. 0000052C  6C0C                     bge        +0xE /* 0000053A */
  517. 0000052E  302C 072E                move.w     D0, [A4 + 0x72E]
  518. 00000532  906C 0752                sub.w      D0, [A4 + 0x752]
  519. 00000536  3940 072A                move.w     [A4 + 0x72A], D0
  520. label0000053A:
  521. 0000053A  4CEE 10F0 FFE0           movem.l    D4,D5,D6,D7,A4, [A6 - 0x20]
  522. 00000540  4E5E                     unlink     A6
  523. 00000542  4E75                     rts
  524. fn00000544:
  525. 00000544  4E56 0000                link       A6, 0
  526. 00000548  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  527. 0000054C  286E 0014                movea.l    A4, [A6 + 0x14]
  528. 00000550  302C 071C                move.w     D0, [A4 + 0x71C]
  529. 00000554  48C0                     ext.l      D0
  530. 00000556  7218                     moveq.l    D1, 0x18
  531. 00000558  E3A8                     lsl        D0, D1
  532. 0000055A  2A00                     move.l     D5, D0
  533. 0000055C  8ABC F000 0000           or.l       D5, 0xF0000000
  534. 00000562  396E 000A 0728           move.w     [A4 + 0x728], [A6 + 0xA]
  535. 00000568  396E 000E 072A           move.w     [A4 + 0x72A], [A6 + 0xE]
  536. 0000056E  3C2C 072C                move.w     D6, [A4 + 0x72C]
  537. 00000572  3E2C 072E                move.w     D7, [A4 + 0x72E]
  538. 00000576  302C 0722                move.w     D0, [A4 + 0x722]
  539. 0000057A  5340                     subq.w     D0, 1
  540. 0000057C  6B7E                     bmi        +0x80 /* 000005FC */
  541. 0000057E  0C40 0003                cmpi.w     D0, 0x3
  542. 00000582  6E78                     bgt        +0x7A /* 000005FC */
  543. 00000584  D040                     add.w      D0, D0
  544. 00000586  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  545. 0000058A  4EFB 0000                jmp        [PC + D0.w]
  546. 0000058E  000A 0024                ori.b      A2, 0x24 /* '$' */
  547. 00000592  002A 0044 7000           ori.b      [A2 + 0x7000], 0x44 /* 'D' */
  548. 00000598  102C 074E                move.b     D0, [A4 + 0x74E]
  549. 0000059C  4A80                     tst.l      D0
  550. 0000059E  6606                     bne        +0x8 /* 000005A6 */
  551. 000005A0  4247                     clr.w      D7
  552. 000005A2  4246                     clr.w      D6
  553. 000005A4  6056                     bra        +0x58 /* 000005FC */
  554. label000005A6:
  555. 000005A6  0446 0280                subi.w     D6, 0x280
  556. 000005AA  0447 01E0                subi.w     D7, 0x1E0
  557. 000005AE  604C                     bra        +0x4E /* 000005FC */
  558. 000005B0  E246                     asr        D6.w, 1
  559. 000005B2  E247                     asr        D7.w, 1
  560. 000005B4  6046                     bra        +0x48 /* 000005FC */
  561. 000005B6  3006                     move.w     D0, D6
  562. 000005B8  E240                     asr        D0.w, 1
  563. 000005BA  3206                     move.w     D1, D6
  564. 000005BC  E441                     asr        D1.w, 2
  565. 000005BE  D240                     add.w      D1, D0
  566. 000005C0  3C01                     move.w     D6, D1
  567. 000005C2  3007                     move.w     D0, D7
  568. 000005C4  E240                     asr        D0.w, 1
  569. 000005C6  3207                     move.w     D1, D7
  570. 000005C8  E441                     asr        D1.w, 2
  571. 000005CA  D240                     add.w      D1, D0
  572. 000005CC  3E01                     move.w     D7, D1
  573. 000005CE  602C                     bra        +0x2E /* 000005FC */
  574. 000005D0  3006                     move.w     D0, D6
  575. 000005D2  E240                     asr        D0.w, 1
  576. 000005D4  48C0                     ext.l      D0
  577. 000005D6  3206                     move.w     D1, D6
  578. 000005D8  E441                     asr        D1.w, 2
  579. 000005DA  48C1                     ext.l      D1
  580. 000005DC  D280                     add.l      D1, D0
  581. 000005DE  3006                     move.w     D0, D6
  582. 000005E0  E640                     asr        D0.w, 3
  583. 000005E2  D041                     add.w      D0, D1
  584. 000005E4  3C00                     move.w     D6, D0
  585. 000005E6  3007                     move.w     D0, D7
  586. 000005E8  E240                     asr        D0.w, 1
  587. 000005EA  48C0                     ext.l      D0
  588. 000005EC  3207                     move.w     D1, D7
  589. 000005EE  E441                     asr        D1.w, 2
  590. 000005F0  48C1                     ext.l      D1
  591. 000005F2  D280                     add.l      D1, D0
  592. 000005F4  3007                     move.w     D0, D7
  593. 000005F6  E640                     asr        D0.w, 3
  594. 000005F8  D041                     add.w      D0, D1
  595. 000005FA  3E00                     move.w     D7, D0
  596. label000005FC:
  597. 000005FC  7001                     moveq.l    D0, 0x01
  598. 000005FE  B06C 0722                cmp.w      D0, [A4 + 0x722]
  599. 00000602  6614                     bne        +0x16 /* 00000618 */
  600. 00000604  7000                     moveq.l    D0, 0x00
  601. 00000606  102C 074E                move.b     D0, [A4 + 0x74E]
  602. 0000060A  4A80                     tst.l      D0
  603. 0000060C  660A                     bne        +0xC /* 00000618 */
  604. 0000060E  426C 0728                clr.w      [A4 + 0x728]
  605. 00000612  426C 072A                clr.w      [A4 + 0x72A]
  606. 00000616  6014                     bra        +0x16 /* 0000062C */
  607. label00000618:
  608. 00000618  BC6C 0728                cmp.w      D6, [A4 + 0x728]
  609. 0000061C  6C04                     bge        +0x6 /* 00000622 */
  610. 0000061E  3946 0728                move.w     [A4 + 0x728], D6
  611. label00000622:
  612. 00000622  BE6C 072A                cmp.w      D7, [A4 + 0x72A]
  613. 00000626  6C04                     bge        +0x6 /* 0000062C */
  614. 00000628  3947 072A                move.w     [A4 + 0x72A], D7
  615. label0000062C:
  616. 0000062C  4A6E 0012                tst.w      [A6 + 0x12]
  617. 00000630  6708                     beq        +0xA /* 0000063A */
  618. 00000632  2F05                     move.l     -[A7], D5
  619. 00000634  4EBA FA52                jsr        [PC - 0x5AE /* 00000088 */]
  620. 00000638  584F                     addq.w     A7, 4
  621. label0000063A:
  622. 0000063A  2F0C                     move.l     -[A7], A4
  623. 0000063C  302C 072A                move.w     D0, [A4 + 0x72A]
  624. 00000640  48C0                     ext.l      D0
  625. 00000642  2F00                     move.l     -[A7], D0
  626. 00000644  302C 0728                move.w     D0, [A4 + 0x728]
  627. 00000648  48C0                     ext.l      D0
  628. 0000064A  2F00                     move.l     -[A7], D0
  629. 0000064C  4EBA 0010                jsr        [PC + 0x10 /* 0000065E */]
  630. 00000650  4FEF 000C                lea.l      A7, [A7 + 0xC]
  631. 00000654  4CEE 10E0 FFF0           movem.l    D5,D6,D7,A4, [A6 - 0x10]
  632. 0000065A  4E5E                     unlink     A6
  633. 0000065C  4E75                     rts
  634. fn0000065E:
  635. 0000065E  4E56 FFFE                link       A6, -0x0002
  636. 00000662  48E7 1708                movem.l    -[A7], D3,D5,D6,D7,A4
  637. 00000666  286E 0010                movea.l    A4, [A6 + 0x10]
  638. 0000066A  302C 071C                move.w     D0, [A4 + 0x71C]
  639. 0000066E  48C0                     ext.l      D0
  640. 00000670  7218                     moveq.l    D1, 0x18
  641. 00000672  E3A8                     lsl        D0, D1
  642. 00000674  2E00                     move.l     D7, D0
  643. 00000676  8EBC F000 0000           or.l       D7, 0xF0000000
  644. 0000067C  2A3C 00FE 6078           move.l     D5, 0xFE6078
  645. 00000682  8A87                     or.l       D5, D7
  646. 00000684  2C3C 00FE 607C           move.l     D6, 0xFE607C
  647. 0000068A  8C87                     or.l       D6, D7
  648. 0000068C  7004                     moveq.l    D0, 0x04
  649. 0000068E  B06C 0730                cmp.w      D0, [A4 + 0x730]
  650. 00000692  57C3                     seq        D3
  651. 00000694  4403                     neg.b      D3
  652. 00000696  6708                     beq        +0xA /* 000006A0 */
  653. 00000698  7005                     moveq.l    D0, 0x05
  654. 0000069A  906C 0730                sub.w      D0, [A4 + 0x730]
  655. 0000069E  6006                     bra        +0x8 /* 000006A6 */
  656. label000006A0:
  657. 000006A0  7004                     moveq.l    D0, 0x04
  658. 000006A2  906C 0730                sub.w      D0, [A4 + 0x730]
  659. label000006A6:
  660. 000006A6  3E00                     move.w     D7, D0
  661. 000006A8  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  662. 000006AE  43EE FFFF                lea.l      A1, [A6 - 0x1]
  663. 000006B2  2049                     movea.l    A0, A1
  664. 000006B4  1010                     move.b     D0, [A0]
  665. 000006B6  A05D                     syscall    SwapMMUMode
  666. 000006B8  1080                     move.b     [A0], D0
  667. 000006BA  302E 000A                move.w     D0, [A6 + 0xA]
  668. 000006BE  EE60                     asr        D0.w, D7
  669. 000006C0  323C 01FF                move.w     D1, 0x1FF
  670. 000006C4  C240                     and.w      D1, D0
  671. 000006C6  7000                     moveq.l    D0, 0x00
  672. 000006C8  3001                     move.w     D0, D1
  673. 000006CA  4A80                     tst.l      D0
  674. 000006CC  2045                     movea.l    A0, D5
  675. 000006CE  2080                     move.l     [A0], D0
  676. 000006D0  303C 01FF                move.w     D0, 0x1FF
  677. 000006D4  C06E 000E                and.w      D0, [A6 + 0xE]
  678. 000006D8  7200                     moveq.l    D1, 0x00
  679. 000006DA  3200                     move.w     D1, D0
  680. 000006DC  4A81                     tst.l      D1
  681. 000006DE  2046                     movea.l    A0, D6
  682. 000006E0  2081                     move.l     [A0], D1
  683. 000006E2  43EE FFFF                lea.l      A1, [A6 - 0x1]
  684. 000006E6  2049                     movea.l    A0, A1
  685. 000006E8  1010                     move.b     D0, [A0]
  686. 000006EA  A05D                     syscall    SwapMMUMode
  687. 000006EC  1080                     move.b     [A0], D0
  688. 000006EE  4CEE 10E8 FFEA           movem.l    D3,D5,D6,D7,A4, [A6 - 0x16]
  689. 000006F4  4E5E                     unlink     A6
  690. 000006F6  4E75                     rts
  691. fn000006F8:
  692. 000006F8  4E56 0000                link       A6, 0
  693. 000006FC  2F07                     move.l     -[A7], D7
  694. 000006FE  3E2E 000A                move.w     D7, [A6 + 0xA]
  695. 00000702  BE6E 000E                cmp.w      D7, [A6 + 0xE]
  696. 00000706  6D0C                     blt        +0xE /* 00000714 */
  697. 00000708  BE6E 0012                cmp.w      D7, [A6 + 0x12]
  698. 0000070C  6E06                     bgt        +0x8 /* 00000714 */
  699. 0000070E  7001                     moveq.l    D0, 0x01
  700. 00000710  6004                     bra        +0x6 /* 00000716 */
  701. 00000712  6002                     bra        +0x4 /* 00000716 */
  702. label00000714:
  703. 00000714  7000                     moveq.l    D0, 0x00
  704. label00000716:
  705. 00000716  2E2E FFFC                move.l     D7, [A6 - 0x4]
  706. 0000071A  4E5E                     unlink     A6
  707. 0000071C  4E75                     rts
  708. fn0000071E:
  709. 0000071E  4E56 FFFE                link       A6, -0x0002
  710. 00000722  48E7 0118                movem.l    -[A7], D7,A3,A4
  711. 00000726  2E2E 0008                move.l     D7, [A6 + 0x8]
  712. 0000072A  266E 0010                movea.l    A3, [A6 + 0x10]
  713. 0000072E  D7C7                     add.l      A3, D7
  714. 00000730  2847                     movea.l    A4, D7
  715. 00000732  D9FC 00FE 6018           add.l      A4, 0xFE6018
  716. 00000738  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  717. 0000073E  43EE FFFF                lea.l      A1, [A6 - 0x1]
  718. 00000742  2049                     movea.l    A0, A1
  719. 00000744  1010                     move.b     D0, [A0]
  720. 00000746  A05D                     syscall    SwapMMUMode
  721. 00000748  1080                     move.b     [A0], D0
  722. 0000074A  2E14                     move.l     D7, [A4]
  723. 0000074C  302E 000E                move.w     D0, [A6 + 0xE]
  724. 00000750  48C0                     ext.l      D0
  725. 00000752  2880                     move.l     [A4], D0
  726. 00000754  36AE 0016                move.w     [A3], [A6 + 0x16]
  727. 00000758  2887                     move.l     [A4], D7
  728. 0000075A  43EE FFFF                lea.l      A1, [A6 - 0x1]
  729. 0000075E  2049                     movea.l    A0, A1
  730. 00000760  1010                     move.b     D0, [A0]
  731. 00000762  A05D                     syscall    SwapMMUMode
  732. 00000764  1080                     move.b     [A0], D0
  733. 00000766  4CEE 1880 FFF2           movem.l    D7,A3,A4, [A6 - 0xE]
  734. 0000076C  4E5E                     unlink     A6
  735. 0000076E  4E75                     rts
  736. fn00000770:
  737. 00000770  4E56 FFFE                link       A6, -0x0002
  738. 00000774  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  739. 00000778  3C2E 0016                move.w     D6, [A6 + 0x16]
  740. 0000077C  2E2E 0008                move.l     D7, [A6 + 0x8]
  741. 00000780  266E 0010                movea.l    A3, [A6 + 0x10]
  742. 00000784  D7C7                     add.l      A3, D7
  743. 00000786  2847                     movea.l    A4, D7
  744. 00000788  D9FC 00FE 6018           add.l      A4, 0xFE6018
  745. 0000078E  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  746. 00000794  43EE FFFF                lea.l      A1, [A6 - 0x1]
  747. 00000798  2049                     movea.l    A0, A1
  748. 0000079A  1010                     move.b     D0, [A0]
  749. 0000079C  A05D                     syscall    SwapMMUMode
  750. 0000079E  1080                     move.b     [A0], D0
  751. 000007A0  2E14                     move.l     D7, [A4]
  752. 000007A2  302E 000E                move.w     D0, [A6 + 0xE]
  753. 000007A6  48C0                     ext.l      D0
  754. 000007A8  2880                     move.l     [A4], D0
  755. 000007AA  4A6E 001A                tst.w      [A6 + 0x1A]
  756. 000007AE  6708                     beq        +0xA /* 000007B8 */
  757. 000007B0  7001                     moveq.l    D0, 0x01
  758. 000007B2  EDA8                     lsl        D0, D6
  759. 000007B4  8153                     or.w       [A3], D0
  760. 000007B6  6008                     bra        +0xA /* 000007C0 */
  761. label000007B8:
  762. 000007B8  7001                     moveq.l    D0, 0x01
  763. 000007BA  EDA8                     lsl        D0, D6
  764. 000007BC  4680                     not.l      D0
  765. 000007BE  C153                     and.w      [A3], D0
  766. label000007C0:
  767. 000007C0  2887                     move.l     [A4], D7
  768. 000007C2  43EE FFFF                lea.l      A1, [A6 - 0x1]
  769. 000007C6  2049                     movea.l    A0, A1
  770. 000007C8  1010                     move.b     D0, [A0]
  771. 000007CA  A05D                     syscall    SwapMMUMode
  772. 000007CC  1080                     move.b     [A0], D0
  773. 000007CE  4CEE 18C0 FFEE           movem.l    D6,D7,A3,A4, [A6 - 0x12]
  774. 000007D4  4E5E                     unlink     A6
  775. 000007D6  4E75                     rts
  776. fn000007D8:
  777. 000007D8  4E56 FFFE                link       A6, -0x0002
  778. 000007DC  48E7 0118                movem.l    -[A7], D7,A3,A4
  779. 000007E0  2E2E 0008                move.l     D7, [A6 + 0x8]
  780. 000007E4  266E 0010                movea.l    A3, [A6 + 0x10]
  781. 000007E8  D7C7                     add.l      A3, D7
  782. 000007EA  2847                     movea.l    A4, D7
  783. 000007EC  D9FC 00FE 6018           add.l      A4, 0xFE6018
  784. 000007F2  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  785. 000007F8  43EE FFFF                lea.l      A1, [A6 - 0x1]
  786. 000007FC  2049                     movea.l    A0, A1
  787. 000007FE  1010                     move.b     D0, [A0]
  788. 00000800  A05D                     syscall    SwapMMUMode
  789. 00000802  1080                     move.b     [A0], D0
  790. 00000804  2E14                     move.l     D7, [A4]
  791. 00000806  302E 000E                move.w     D0, [A6 + 0xE]
  792. 0000080A  48C0                     ext.l      D0
  793. 0000080C  2880                     move.l     [A4], D0
  794. 0000080E  302E 0016                move.w     D0, [A6 + 0x16]
  795. 00000812  4640                     not.w      D0
  796. 00000814  C153                     and.w      [A3], D0
  797. 00000816  302E 001A                move.w     D0, [A6 + 0x1A]
  798. 0000081A  8153                     or.w       [A3], D0
  799. 0000081C  2887                     move.l     [A4], D7
  800. 0000081E  43EE FFFF                lea.l      A1, [A6 - 0x1]
  801. 00000822  2049                     movea.l    A0, A1
  802. 00000824  1010                     move.b     D0, [A0]
  803. 00000826  A05D                     syscall    SwapMMUMode
  804. 00000828  1080                     move.b     [A0], D0
  805. 0000082A  4CEE 1880 FFF2           movem.l    D7,A3,A4, [A6 - 0xE]
  806. 00000830  4E5E                     unlink     A6
  807. 00000832  4E75                     rts
  808. fn00000834:
  809. 00000834  4E56 FFF6                link       A6, -0x000A
  810. 00000838  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  811. 0000083C  282E 0008                move.l     D4, [A6 + 0x8]
  812. 00000840  4878 03FF                push.l     0x3FF
  813. 00000844  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  814. 0000084A  7002                     moveq.l    D0, 0x02
  815. 0000084C  2F00                     move.l     -[A7], D0
  816. 0000084E  2F04                     move.l     -[A7], D4
  817. 00000850  4EBA 026A                jsr        [PC + 0x26A /* 00000ABC */]
  818. 00000854  2D40 FFF6                move.l     [A6 - 0xA], D0
  819. 00000858  4878 03FF                push.l     0x3FF
  820. 0000085C  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  821. 00000862  7002                     moveq.l    D0, 0x02
  822. 00000864  2F00                     move.l     -[A7], D0
  823. 00000866  2F04                     move.l     -[A7], D4
  824. 00000868  4EBA 0252                jsr        [PC + 0x252 /* 00000ABC */]
  825. 0000086C  222E FFF6                move.l     D1, [A6 - 0xA]
  826. 00000870  9240                     sub.w      D1, D0
  827. 00000872  3D41 FFFA                move.w     [A6 - 0x6], D1
  828. 00000876  426E FFFC                clr.w      [A6 - 0x4]
  829. 0000087A  3C2E 000E                move.w     D6, [A6 + 0xE]
  830. 0000087E  7009                     moveq.l    D0, 0x09
  831. 00000880  2F00                     move.l     -[A7], D0
  832. 00000882  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  833. 00000888  7203                     moveq.l    D1, 0x03
  834. 0000088A  2F01                     move.l     -[A7], D1
  835. 0000088C  2F04                     move.l     -[A7], D4
  836. 0000088E  4EBA 028E                jsr        [PC + 0x28E /* 00000B1E */]
  837. 00000892  4A40                     tst.w      D0
  838. 00000894  4FEF 0030                lea.l      A7, [A7 + 0x30]
  839. 00000898  6706                     beq        +0x8 /* 000008A0 */
  840. 0000089A  9C6E FFFA                sub.w      D6, [A6 - 0x6]
  841. 0000089E  6026                     bra        +0x28 /* 000008C6 */
  842. label000008A0:
  843. 000008A0  7004                     moveq.l    D0, 0x04
  844. 000008A2  2F00                     move.l     -[A7], D0
  845. 000008A4  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  846. 000008AA  7203                     moveq.l    D1, 0x03
  847. 000008AC  2F01                     move.l     -[A7], D1
  848. 000008AE  2F04                     move.l     -[A7], D4
  849. 000008B0  4EBA 026C                jsr        [PC + 0x26C /* 00000B1E */]
  850. 000008B4  4A40                     tst.w      D0
  851. 000008B6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  852. 000008BA  670A                     beq        +0xC /* 000008C6 */
  853. 000008BC  3006                     move.w     D0, D6
  854. 000008BE  48C0                     ext.l      D0
  855. 000008C0  81FC 0002                divs.w     D0, 0x2
  856. 000008C4  3C00                     move.w     D6, D0
  857. label000008C6:
  858. 000008C6  7E07                     moveq.l    D7, 0x07
  859. label000008C8:
  860. 000008C8  4A46                     tst.w      D6
  861. 000008CA  6F38                     ble        +0x3A /* 00000904 */
  862. 000008CC  7007                     moveq.l    D0, 0x07
  863. 000008CE  9007                     sub.b      D0, D7
  864. 000008D0  7801                     moveq.l    D4, 0x01
  865. 000008D2  E1AC                     lsl        D4, D0
  866. 000008D4  D86E FFFA                add.w      D4, [A6 - 0x6]
  867. 000008D8  7008                     moveq.l    D0, 0x08
  868. 000008DA  9007                     sub.b      D0, D7
  869. 000008DC  7201                     moveq.l    D1, 0x01
  870. 000008DE  E1A9                     lsl        D1, D0
  871. 000008E0  3D41 FFFE                move.w     [A6 - 0x2], D1
  872. 000008E4  3004                     move.w     D0, D4
  873. 000008E6  48C0                     ext.l      D0
  874. 000008E8  81EE FFFE                divs.w     D0, [A6 - 0x2]
  875. 000008EC  3A00                     move.w     D5, D0
  876. 000008EE  BC45                     cmp.w      D6, D5
  877. 000008F0  6D0E                     blt        +0x10 /* 00000900 */
  878. 000008F2  9C45                     sub.w      D6, D5
  879. 000008F4  7001                     moveq.l    D0, 0x01
  880. 000008F6  EFA8                     lsl        D0, D7
  881. 000008F8  816E FFFC                or.w       [A6 - 0x4], D0
  882. 000008FC  6002                     bra        +0x4 /* 00000900 */
  883. 000008FE  6004                     bra        +0x6 /* 00000904 */
  884. label00000900:
  885. 00000900  51CF FFC6                dbf        D7, -0x3C /* 000008C8 */
  886. label00000904:
  887. 00000904  302E FFFC                move.w     D0, [A6 - 0x4]
  888. 00000908  4CEE 00F0 FFE6           movem.l    D4,D5,D6,D7, [A6 - 0x1A]
  889. 0000090E  4E5E                     unlink     A6
  890. 00000910  4E75                     rts
  891. fn00000912:
  892. 00000912  4E56 FFF6                link       A6, -0x000A
  893. 00000916  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  894. 0000091A  206E 0008                movea.l    A0, [A6 + 0x8]
  895. 0000091E  2C10                     move.l     D6, [A0]
  896. 00000920  4878 03FF                push.l     0x3FF
  897. 00000924  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  898. 0000092A  7002                     moveq.l    D0, 0x02
  899. 0000092C  2F00                     move.l     -[A7], D0
  900. 0000092E  2F06                     move.l     -[A7], D6
  901. 00000930  4EBA 018A                jsr        [PC + 0x18A /* 00000ABC */]
  902. 00000934  2D40 FFF6                move.l     [A6 - 0xA], D0
  903. 00000938  4878 03FF                push.l     0x3FF
  904. 0000093C  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  905. 00000942  7002                     moveq.l    D0, 0x02
  906. 00000944  2F00                     move.l     -[A7], D0
  907. 00000946  2F06                     move.l     -[A7], D6
  908. 00000948  4EBA 0172                jsr        [PC + 0x172 /* 00000ABC */]
  909. 0000094C  222E FFF6                move.l     D1, [A6 - 0xA]
  910. 00000950  9240                     sub.w      D1, D0
  911. 00000952  3D41 FFFA                move.w     [A6 - 0x6], D1
  912. 00000956  046E 000F FFFA           subi.w     [A6 - 0x6], 0xF
  913. 0000095C  426E FFFC                clr.w      [A6 - 0x4]
  914. 00000960  3C2E 000E                move.w     D6, [A6 + 0xE]
  915. 00000964  7E09                     moveq.l    D7, 0x09
  916. 00000966  4FEF 0020                lea.l      A7, [A7 + 0x20]
  917. label0000096A:
  918. 0000096A  4A46                     tst.w      D6
  919. 0000096C  6F38                     ble        +0x3A /* 000009A6 */
  920. 0000096E  7009                     moveq.l    D0, 0x09
  921. 00000970  9007                     sub.b      D0, D7
  922. 00000972  7801                     moveq.l    D4, 0x01
  923. 00000974  E1AC                     lsl        D4, D0
  924. 00000976  D86E FFFA                add.w      D4, [A6 - 0x6]
  925. 0000097A  700A                     moveq.l    D0, 0x0A
  926. 0000097C  9007                     sub.b      D0, D7
  927. 0000097E  7201                     moveq.l    D1, 0x01
  928. 00000980  E1A9                     lsl        D1, D0
  929. 00000982  3D41 FFFE                move.w     [A6 - 0x2], D1
  930. 00000986  3004                     move.w     D0, D4
  931. 00000988  48C0                     ext.l      D0
  932. 0000098A  81EE FFFE                divs.w     D0, [A6 - 0x2]
  933. 0000098E  3A00                     move.w     D5, D0
  934. 00000990  BC45                     cmp.w      D6, D5
  935. 00000992  6D0E                     blt        +0x10 /* 000009A2 */
  936. 00000994  9C45                     sub.w      D6, D5
  937. 00000996  7001                     moveq.l    D0, 0x01
  938. 00000998  EFA8                     lsl        D0, D7
  939. 0000099A  816E FFFC                or.w       [A6 - 0x4], D0
  940. 0000099E  6002                     bra        +0x4 /* 000009A2 */
  941. 000009A0  6004                     bra        +0x6 /* 000009A6 */
  942. label000009A2:
  943. 000009A2  51CF FFC6                dbf        D7, -0x3C /* 0000096A */
  944. label000009A6:
  945. 000009A6  302E FFFC                move.w     D0, [A6 - 0x4]
  946. 000009AA  4CEE 00F0 FFE6           movem.l    D4,D5,D6,D7, [A6 - 0x1A]
  947. 000009B0  4E5E                     unlink     A6
  948. 000009B2  4E75                     rts
  949. fn000009B4:
  950. 000009B4  4E56 FFEA                link       A6, -0x0016
  951. 000009B8  48E7 1300                movem.l    -[A7], D3,D6,D7
  952. 000009BC  2E2E 0008                move.l     D7, [A6 + 0x8]
  953. 000009C0  4246                     clr.w      D6
  954. 000009C2  7000                     moveq.l    D0, 0x00
  955. 000009C4  2F00                     move.l     -[A7], D0
  956. 000009C6  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  957. 000009CC  7203                     moveq.l    D1, 0x03
  958. 000009CE  2F01                     move.l     -[A7], D1
  959. 000009D0  2F07                     move.l     -[A7], D7
  960. 000009D2  4EBA 014A                jsr        [PC + 0x14A /* 00000B1E */]
  961. 000009D6  4A40                     tst.w      D0
  962. 000009D8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  963. 000009DC  6700 00D2                beq        +0xD4 /* 00000AB0 */
  964. 000009E0  7600                     moveq.l    D3, 0x00
  965. 000009E2  2F03                     move.l     -[A7], D3
  966. 000009E4  7005                     moveq.l    D0, 0x05
  967. 000009E6  2F00                     move.l     -[A7], D0
  968. 000009E8  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  969. 000009EE  7203                     moveq.l    D1, 0x03
  970. 000009F0  2F01                     move.l     -[A7], D1
  971. 000009F2  2F07                     move.l     -[A7], D7
  972. 000009F4  4EBA 0128                jsr        [PC + 0x128 /* 00000B1E */]
  973. 000009F8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  974. 000009FC  261F                     move.l     D3, [A7]+
  975. 000009FE  4A40                     tst.w      D0
  976. 00000A00  6722                     beq        +0x24 /* 00000A24 */
  977. 00000A02  2F03                     move.l     -[A7], D3
  978. 00000A04  7002                     moveq.l    D0, 0x02
  979. 00000A06  2F00                     move.l     -[A7], D0
  980. 00000A08  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  981. 00000A0E  7203                     moveq.l    D1, 0x03
  982. 00000A10  2F01                     move.l     -[A7], D1
  983. 00000A12  2F07                     move.l     -[A7], D7
  984. 00000A14  4EBA 0108                jsr        [PC + 0x108 /* 00000B1E */]
  985. 00000A18  4FEF 0010                lea.l      A7, [A7 + 0x10]
  986. 00000A1C  261F                     move.l     D3, [A7]+
  987. 00000A1E  4A40                     tst.w      D0
  988. 00000A20  6702                     beq        +0x4 /* 00000A24 */
  989. 00000A22  7601                     moveq.l    D3, 0x01
  990. label00000A24:
  991. 00000A24  4883                     ext.w      D3
  992. 00000A26  3C03                     move.w     D6, D3
  993. 00000A28  671C                     beq        +0x1E /* 00000A46 */
  994. 00000A2A  7000                     moveq.l    D0, 0x00
  995. 00000A2C  2F00                     move.l     -[A7], D0
  996. 00000A2E  7205                     moveq.l    D1, 0x05
  997. 00000A30  2F01                     move.l     -[A7], D1
  998. 00000A32  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  999. 00000A38  7003                     moveq.l    D0, 0x03
  1000. 00000A3A  2F00                     move.l     -[A7], D0
  1001. 00000A3C  2F07                     move.l     -[A7], D7
  1002. 00000A3E  4EBA FD30                jsr        [PC - 0x2D0 /* 00000770 */]
  1003. 00000A42  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1004. label00000A46:
  1005. 00000A46  7000                     moveq.l    D0, 0x00
  1006. 00000A48  2D40 FFF0                move.l     [A6 - 0x10], D0
  1007. 00000A4C  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1008. 00000A50  2049                     movea.l    A0, A1
  1009. 00000A52  A058                     syscall    InsTime
  1010. 00000A54  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1011. 00000A58  2049                     movea.l    A0, A1
  1012. 00000A5A  203C FFFE A070           move.l     D0, 0xFFFEA070
  1013. 00000A60  A05A                     syscall    PrimeTime
  1014. 00000A62  601C                     bra        +0x1E /* 00000A80 */
  1015. label00000A64:
  1016. 00000A64  7000                     moveq.l    D0, 0x00
  1017. 00000A66  2F00                     move.l     -[A7], D0
  1018. 00000A68  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1019. 00000A6E  7203                     moveq.l    D1, 0x03
  1020. 00000A70  2F01                     move.l     -[A7], D1
  1021. 00000A72  2F07                     move.l     -[A7], D7
  1022. 00000A74  4EBA 00A8                jsr        [PC + 0xA8 /* 00000B1E */]
  1023. 00000A78  4A40                     tst.w      D0
  1024. 00000A7A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1025. 00000A7E  6706                     beq        +0x8 /* 00000A86 */
  1026. label00000A80:
  1027. 00000A80  4A6E FFEE                tst.w      [A6 - 0x12]
  1028. 00000A84  6DDE                     blt        -0x20 /* 00000A64 */
  1029. label00000A86:
  1030. 00000A86  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1031. 00000A8A  2049                     movea.l    A0, A1
  1032. 00000A8C  A059                     syscall    RmvTime
  1033. 00000A8E  4AAE FFF4                tst.l      [A6 - 0xC]
  1034. 00000A92  6E1C                     bgt        +0x1E /* 00000AB0 */
  1035. 00000A94  7000                     moveq.l    D0, 0x00
  1036. 00000A96  2F00                     move.l     -[A7], D0
  1037. 00000A98  7205                     moveq.l    D1, 0x05
  1038. 00000A9A  2F01                     move.l     -[A7], D1
  1039. 00000A9C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1040. 00000AA2  7003                     moveq.l    D0, 0x03
  1041. 00000AA4  2F00                     move.l     -[A7], D0
  1042. 00000AA6  2F07                     move.l     -[A7], D7
  1043. 00000AA8  4EBA FCC6                jsr        [PC - 0x33A /* 00000770 */]
  1044. 00000AAC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1045. label00000AB0:
  1046. 00000AB0  3006                     move.w     D0, D6
  1047. 00000AB2  4CEE 00C8 FFDE           movem.l    D3,D6,D7, [A6 - 0x22]
  1048. 00000AB8  4E5E                     unlink     A6
  1049. 00000ABA  4E75                     rts
  1050. fn00000ABC:
  1051. 00000ABC  4E56 FFFE                link       A6, -0x0002
  1052. 00000AC0  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  1053. 00000AC4  2E2E 0008                move.l     D7, [A6 + 0x8]
  1054. 00000AC8  2847                     movea.l    A4, D7
  1055. 00000ACA  D9FC 00FE 6018           add.l      A4, 0xFE6018
  1056. 00000AD0  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  1057. 00000AD6  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1058. 00000ADA  2049                     movea.l    A0, A1
  1059. 00000ADC  1010                     move.b     D0, [A0]
  1060. 00000ADE  A05D                     syscall    SwapMMUMode
  1061. 00000AE0  1080                     move.b     [A0], D0
  1062. 00000AE2  2C14                     move.l     D6, [A4]
  1063. 00000AE4  302E 000E                move.w     D0, [A6 + 0xE]
  1064. 00000AE8  48C0                     ext.l      D0
  1065. 00000AEA  2880                     move.l     [A4], D0
  1066. 00000AEC  202E 0010                move.l     D0, [A6 + 0x10]
  1067. 00000AF0  D087                     add.l      D0, D7
  1068. 00000AF2  2040                     movea.l    A0, D0
  1069. 00000AF4  3A10                     move.w     D5, [A0]
  1070. 00000AF6  2886                     move.l     [A4], D6
  1071. 00000AF8  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1072. 00000AFC  2049                     movea.l    A0, A1
  1073. 00000AFE  1010                     move.b     D0, [A0]
  1074. 00000B00  A05D                     syscall    SwapMMUMode
  1075. 00000B02  1080                     move.b     [A0], D0
  1076. 00000B04  7000                     moveq.l    D0, 0x00
  1077. 00000B06  3005                     move.w     D0, D5
  1078. 00000B08  4A80                     tst.l      D0
  1079. 00000B0A  322E 0016                move.w     D1, [A6 + 0x16]
  1080. 00000B0E  48C1                     ext.l      D1
  1081. 00000B10  C240                     and.w      D1, D0
  1082. 00000B12  3001                     move.w     D0, D1
  1083. 00000B14  4CEE 10E0 FFEE           movem.l    D5,D6,D7,A4, [A6 - 0x12]
  1084. 00000B1A  4E5E                     unlink     A6
  1085. 00000B1C  4E75                     rts
  1086. fn00000B1E:
  1087. 00000B1E  4E56 FFFE                link       A6, -0x0002
  1088. 00000B22  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  1089. 00000B26  2E2E 0008                move.l     D7, [A6 + 0x8]
  1090. 00000B2A  2847                     movea.l    A4, D7
  1091. 00000B2C  D9FC 00FE 6018           add.l      A4, 0xFE6018
  1092. 00000B32  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  1093. 00000B38  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1094. 00000B3C  2049                     movea.l    A0, A1
  1095. 00000B3E  1010                     move.b     D0, [A0]
  1096. 00000B40  A05D                     syscall    SwapMMUMode
  1097. 00000B42  1080                     move.b     [A0], D0
  1098. 00000B44  2C14                     move.l     D6, [A4]
  1099. 00000B46  302E 000E                move.w     D0, [A6 + 0xE]
  1100. 00000B4A  48C0                     ext.l      D0
  1101. 00000B4C  2880                     move.l     [A4], D0
  1102. 00000B4E  202E 0010                move.l     D0, [A6 + 0x10]
  1103. 00000B52  D087                     add.l      D0, D7
  1104. 00000B54  2040                     movea.l    A0, D0
  1105. 00000B56  7000                     moveq.l    D0, 0x00
  1106. 00000B58  3010                     move.w     D0, [A0]
  1107. 00000B5A  4A80                     tst.l      D0
  1108. 00000B5C  322E 0016                move.w     D1, [A6 + 0x16]
  1109. 00000B60  7401                     moveq.l    D2, 0x01
  1110. 00000B62  E3AA                     lsl        D2, D1
  1111. 00000B64  C480                     and.l      D2, D0
  1112. 00000B66  6704                     beq        +0x6 /* 00000B6C */
  1113. 00000B68  7001                     moveq.l    D0, 0x01
  1114. 00000B6A  6002                     bra        +0x4 /* 00000B6E */
  1115. label00000B6C:
  1116. 00000B6C  7000                     moveq.l    D0, 0x00
  1117. label00000B6E:
  1118. 00000B6E  4880                     ext.w      D0
  1119. 00000B70  3A00                     move.w     D5, D0
  1120. 00000B72  2886                     move.l     [A4], D6
  1121. 00000B74  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1122. 00000B78  2049                     movea.l    A0, A1
  1123. 00000B7A  1010                     move.b     D0, [A0]
  1124. 00000B7C  A05D                     syscall    SwapMMUMode
  1125. 00000B7E  1080                     move.b     [A0], D0
  1126. 00000B80  3005                     move.w     D0, D5
  1127. 00000B82  4CEE 10E0 FFEE           movem.l    D5,D6,D7,A4, [A6 - 0x12]
  1128. 00000B88  4E5E                     unlink     A6
  1129. 00000B8A  4E75                     rts
  1130. fn00000B8C:
  1131. 00000B8C  4E56 FFFE                link       A6, -0x0002
  1132. 00000B90  2F07                     move.l     -[A7], D7
  1133. 00000B92  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  1134. 00000B98  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1135. 00000B9C  2049                     movea.l    A0, A1
  1136. 00000B9E  1010                     move.b     D0, [A0]
  1137. 00000BA0  A05D                     syscall    SwapMMUMode
  1138. 00000BA2  1080                     move.b     [A0], D0
  1139. 00000BA4  202E 000C                move.l     D0, [A6 + 0xC]
  1140. 00000BA8  D0AE 0008                add.l      D0, [A6 + 0x8]
  1141. 00000BAC  2040                     movea.l    A0, D0
  1142. 00000BAE  3E28 0002                move.w     D7, [A0 + 0x2]
  1143. 00000BB2  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1144. 00000BB6  2049                     movea.l    A0, A1
  1145. 00000BB8  1010                     move.b     D0, [A0]
  1146. 00000BBA  A05D                     syscall    SwapMMUMode
  1147. 00000BBC  1080                     move.b     [A0], D0
  1148. 00000BBE  3007                     move.w     D0, D7
  1149. 00000BC0  2E2E FFFA                move.l     D7, [A6 - 0x6]
  1150. 00000BC4  4E5E                     unlink     A6
  1151. 00000BC6  4E75                     rts
  1152. fn00000BC8:
  1153. 00000BC8  4E56 FFF8                link       A6, -0x0008
  1154. 00000BCC  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  1155. 00000BD0  4878 03FF                push.l     0x3FF
  1156. 00000BD4  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1157. 00000BDA  7002                     moveq.l    D0, 0x02
  1158. 00000BDC  2F00                     move.l     -[A7], D0
  1159. 00000BDE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1160. 00000BE2  4EBA FED8                jsr        [PC - 0x128 /* 00000ABC */]
  1161. 00000BE6  2D40 FFF8                move.l     [A6 - 0x8], D0
  1162. 00000BEA  4878 03FF                push.l     0x3FF
  1163. 00000BEE  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  1164. 00000BF4  7002                     moveq.l    D0, 0x02
  1165. 00000BF6  2F00                     move.l     -[A7], D0
  1166. 00000BF8  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1167. 00000BFC  4EBA FEBE                jsr        [PC - 0x142 /* 00000ABC */]
  1168. 00000C00  222E FFF8                move.l     D1, [A6 - 0x8]
  1169. 00000C04  9240                     sub.w      D1, D0
  1170. 00000C06  3D41 FFFE                move.w     [A6 - 0x2], D1
  1171. 00000C0A  4878 01FF                push.l     0x1FF
  1172. 00000C0E  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  1173. 00000C14  7002                     moveq.l    D0, 0x02
  1174. 00000C16  2F00                     move.l     -[A7], D0
  1175. 00000C18  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1176. 00000C1C  4EBA FE9E                jsr        [PC - 0x162 /* 00000ABC */]
  1177. 00000C20  3D40 FFFC                move.w     [A6 - 0x4], D0
  1178. 00000C24  303C 0100                move.w     D0, 0x100
  1179. 00000C28  C06E FFFC                and.w      D0, [A6 - 0x4]
  1180. 00000C2C  4FEF 0030                lea.l      A7, [A7 + 0x30]
  1181. 00000C30  6706                     beq        +0x8 /* 00000C38 */
  1182. 00000C32  382E FFFE                move.w     D4, [A6 - 0x2]
  1183. 00000C36  6032                     bra        +0x34 /* 00000C6A */
  1184. label00000C38:
  1185. 00000C38  4244                     clr.w      D4
  1186. 00000C3A  7E07                     moveq.l    D7, 0x07
  1187. label00000C3C:
  1188. 00000C3C  302E FFFC                move.w     D0, [A6 - 0x4]
  1189. 00000C40  48C0                     ext.l      D0
  1190. 00000C42  7201                     moveq.l    D1, 0x01
  1191. 00000C44  EFA9                     lsl        D1, D7
  1192. 00000C46  C280                     and.l      D1, D0
  1193. 00000C48  671C                     beq        +0x1E /* 00000C66 */
  1194. 00000C4A  7007                     moveq.l    D0, 0x07
  1195. 00000C4C  9007                     sub.b      D0, D7
  1196. 00000C4E  7C01                     moveq.l    D6, 0x01
  1197. 00000C50  E1AE                     lsl        D6, D0
  1198. 00000C52  DC6E FFFE                add.w      D6, [A6 - 0x2]
  1199. 00000C56  7008                     moveq.l    D0, 0x08
  1200. 00000C58  9007                     sub.b      D0, D7
  1201. 00000C5A  7A01                     moveq.l    D5, 0x01
  1202. 00000C5C  E1AD                     lsl        D5, D0
  1203. 00000C5E  3006                     move.w     D0, D6
  1204. 00000C60  48C0                     ext.l      D0
  1205. 00000C62  81C5                     divs.w     D0, D5
  1206. 00000C64  D840                     add.w      D4, D0
  1207. label00000C66:
  1208. 00000C66  51CF FFD4                dbf        D7, -0x2E /* 00000C3C */
  1209. label00000C6A:
  1210. 00000C6A  7009                     moveq.l    D0, 0x09
  1211. 00000C6C  2F00                     move.l     -[A7], D0
  1212. 00000C6E  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1213. 00000C74  7203                     moveq.l    D1, 0x03
  1214. 00000C76  2F01                     move.l     -[A7], D1
  1215. 00000C78  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1216. 00000C7C  4EBA FEA0                jsr        [PC - 0x160 /* 00000B1E */]
  1217. 00000C80  4A40                     tst.w      D0
  1218. 00000C82  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1219. 00000C86  6706                     beq        +0x8 /* 00000C8E */
  1220. 00000C88  D86E FFFE                add.w      D4, [A6 - 0x2]
  1221. 00000C8C  6022                     bra        +0x24 /* 00000CB0 */
  1222. label00000C8E:
  1223. 00000C8E  7004                     moveq.l    D0, 0x04
  1224. 00000C90  2F00                     move.l     -[A7], D0
  1225. 00000C92  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1226. 00000C98  7203                     moveq.l    D1, 0x03
  1227. 00000C9A  2F01                     move.l     -[A7], D1
  1228. 00000C9C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1229. 00000CA0  4EBA FE7C                jsr        [PC - 0x184 /* 00000B1E */]
  1230. 00000CA4  4A40                     tst.w      D0
  1231. 00000CA6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1232. 00000CAA  6704                     beq        +0x6 /* 00000CB0 */
  1233. 00000CAC  48C4                     ext.l      D4
  1234. 00000CAE  D884                     add.l      D4, D4
  1235. label00000CB0:
  1236. 00000CB0  3004                     move.w     D0, D4
  1237. 00000CB2  4CEE 00F0 FFE8           movem.l    D4,D5,D6,D7, [A6 - 0x18]
  1238. 00000CB8  4E5E                     unlink     A6
  1239. 00000CBA  4E75                     rts
  1240. fn00000CBC:
  1241. 00000CBC  4E56 FFF8                link       A6, -0x0008
  1242. 00000CC0  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  1243. 00000CC4  286E 0008                movea.l    A4, [A6 + 0x8]
  1244. 00000CC8  7062                     moveq.l    D0, 0x62
  1245. 00000CCA  B06C 0146                cmp.w      D0, [A4 + 0x146]
  1246. 00000CCE  6608                     bne        +0xA /* 00000CD8 */
  1247. 00000CD0  382C 0024                move.w     D4, [A4 + 0x24]
  1248. 00000CD4  6000 00B2                bra        +0xB4 /* 00000D88 */
  1249. label00000CD8:
  1250. 00000CD8  2A14                     move.l     D5, [A4]
  1251. 00000CDA  4878 03FF                push.l     0x3FF
  1252. 00000CDE  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1253. 00000CE4  7002                     moveq.l    D0, 0x02
  1254. 00000CE6  2F00                     move.l     -[A7], D0
  1255. 00000CE8  2F05                     move.l     -[A7], D5
  1256. 00000CEA  4EBA FDD0                jsr        [PC - 0x230 /* 00000ABC */]
  1257. 00000CEE  3D40 FFFC                move.w     [A6 - 0x4], D0
  1258. 00000CF2  4878 03FF                push.l     0x3FF
  1259. 00000CF6  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  1260. 00000CFC  7002                     moveq.l    D0, 0x02
  1261. 00000CFE  2F00                     move.l     -[A7], D0
  1262. 00000D00  2F05                     move.l     -[A7], D5
  1263. 00000D02  4EBA FDB8                jsr        [PC - 0x248 /* 00000ABC */]
  1264. 00000D06  2D40 FFF8                move.l     [A6 - 0x8], D0
  1265. 00000D0A  4878 03FF                push.l     0x3FF
  1266. 00000D0E  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  1267. 00000D14  7002                     moveq.l    D0, 0x02
  1268. 00000D16  2F00                     move.l     -[A7], D0
  1269. 00000D18  2F05                     move.l     -[A7], D5
  1270. 00000D1A  4EBA FDA0                jsr        [PC - 0x260 /* 00000ABC */]
  1271. 00000D1E  222E FFF8                move.l     D1, [A6 - 0x8]
  1272. 00000D22  9240                     sub.w      D1, D0
  1273. 00000D24  3D41 FFFE                move.w     [A6 - 0x2], D1
  1274. 00000D28  046E 000F FFFE           subi.w     [A6 - 0x2], 0xF
  1275. 00000D2E  4878 01FF                push.l     0x1FF
  1276. 00000D32  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  1277. 00000D38  7002                     moveq.l    D0, 0x02
  1278. 00000D3A  2F00                     move.l     -[A7], D0
  1279. 00000D3C  2F05                     move.l     -[A7], D5
  1280. 00000D3E  4EBA FD7C                jsr        [PC - 0x284 /* 00000ABC */]
  1281. 00000D42  3C00                     move.w     D6, D0
  1282. 00000D44  303C 0100                move.w     D0, 0x100
  1283. 00000D48  C046                     and.w      D0, D6
  1284. 00000D4A  4FEF 0040                lea.l      A7, [A7 + 0x40]
  1285. 00000D4E  6706                     beq        +0x8 /* 00000D56 */
  1286. 00000D50  382E FFFE                move.w     D4, [A6 - 0x2]
  1287. 00000D54  6032                     bra        +0x34 /* 00000D88 */
  1288. label00000D56:
  1289. 00000D56  4244                     clr.w      D4
  1290. 00000D58  7E09                     moveq.l    D7, 0x09
  1291. label00000D5A:
  1292. 00000D5A  302E FFFC                move.w     D0, [A6 - 0x4]
  1293. 00000D5E  48C0                     ext.l      D0
  1294. 00000D60  7201                     moveq.l    D1, 0x01
  1295. 00000D62  EFA9                     lsl        D1, D7
  1296. 00000D64  C280                     and.l      D1, D0
  1297. 00000D66  671C                     beq        +0x1E /* 00000D84 */
  1298. 00000D68  7009                     moveq.l    D0, 0x09
  1299. 00000D6A  9007                     sub.b      D0, D7
  1300. 00000D6C  7C01                     moveq.l    D6, 0x01
  1301. 00000D6E  E1AE                     lsl        D6, D0
  1302. 00000D70  DC6E FFFE                add.w      D6, [A6 - 0x2]
  1303. 00000D74  700A                     moveq.l    D0, 0x0A
  1304. 00000D76  9007                     sub.b      D0, D7
  1305. 00000D78  7A01                     moveq.l    D5, 0x01
  1306. 00000D7A  E1AD                     lsl        D5, D0
  1307. 00000D7C  3006                     move.w     D0, D6
  1308. 00000D7E  48C0                     ext.l      D0
  1309. 00000D80  81C5                     divs.w     D0, D5
  1310. 00000D82  D840                     add.w      D4, D0
  1311. label00000D84:
  1312. 00000D84  51CF FFD4                dbf        D7, -0x2E /* 00000D5A */
  1313. label00000D88:
  1314. 00000D88  3004                     move.w     D0, D4
  1315. 00000D8A  4CEE 10F0 FFE4           movem.l    D4,D5,D6,D7,A4, [A6 - 0x1C]
  1316. 00000D90  4E5E                     unlink     A6
  1317. 00000D92  4E75                     rts
  1318. fn00000D94:
  1319. 00000D94  4E56 FFEA                link       A6, -0x0016
  1320. 00000D98  48E7 0108                movem.l    -[A7], D7,A4
  1321. 00000D9C  3E2E 000E                move.w     D7, [A6 + 0xE]
  1322. 00000DA0  286E 0008                movea.l    A4, [A6 + 0x8]
  1323. 00000DA4  7000                     moveq.l    D0, 0x00
  1324. 00000DA6  2D40 FFF0                move.l     [A6 - 0x10], D0
  1325. 00000DAA  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1326. 00000DAE  2049                     movea.l    A0, A1
  1327. 00000DB0  A058                     syscall    InsTime
  1328. 00000DB2  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1329. 00000DB6  2049                     movea.l    A0, A1
  1330. 00000DB8  203C FFFF 9E58           move.l     D0, 0xFFFF9E58
  1331. 00000DBE  A05A                     syscall    PrimeTime
  1332. 00000DC0  601A                     bra        +0x1C /* 00000DDC */
  1333. label00000DC2:
  1334. 00000DC2  7003                     moveq.l    D0, 0x03
  1335. 00000DC4  2F00                     move.l     -[A7], D0
  1336. 00000DC6  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1337. 00000DCC  2F00                     move.l     -[A7], D0
  1338. 00000DCE  2F14                     move.l     -[A7], [A4]
  1339. 00000DD0  4EBA FD4C                jsr        [PC - 0x2B4 /* 00000B1E */]
  1340. 00000DD4  BE40                     cmp.w      D7, D0
  1341. 00000DD6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1342. 00000DDA  6706                     beq        +0x8 /* 00000DE2 */
  1343. label00000DDC:
  1344. 00000DDC  4A6E FFEE                tst.w      [A6 - 0x12]
  1345. 00000DE0  6DE0                     blt        -0x1E /* 00000DC2 */
  1346. label00000DE2:
  1347. 00000DE2  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1348. 00000DE6  2049                     movea.l    A0, A1
  1349. 00000DE8  A059                     syscall    RmvTime
  1350. 00000DEA  4AAE FFF4                tst.l      [A6 - 0xC]
  1351. 00000DEE  6604                     bne        +0x6 /* 00000DF4 */
  1352. 00000DF0  3E3C E0AE                move.w     D7, 0xE0AE
  1353. label00000DF4:
  1354. 00000DF4  3007                     move.w     D0, D7
  1355. 00000DF6  4CEE 1080 FFE2           movem.l    D7,A4, [A6 - 0x1E]
  1356. 00000DFC  4E5E                     unlink     A6
  1357. 00000DFE  4E75                     rts
  1358. fn00000E00:
  1359. 00000E00  4E56 FFF6                link       A6, -0x000A
  1360. 00000E04  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  1361. 00000E08  286E 0008                movea.l    A4, [A6 + 0x8]
  1362. 00000E0C  2E14                     move.l     D7, [A4]
  1363. 00000E0E  2647                     movea.l    A3, D7
  1364. 00000E10  D7FC 00FE 6018           add.l      A3, 0xFE6018
  1365. 00000E16  2007                     move.l     D0, D7
  1366. 00000E18  D0BC 00FE 7018           add.l      D0, 0xFE7018
  1367. 00000E1E  2D40 FFF6                move.l     [A6 - 0xA], D0
  1368. 00000E22  206C 000A                movea.l    A0, [A4 + 0xA]
  1369. 00000E26  2D50 FFFA                move.l     [A6 - 0x6], [A0]
  1370. 00000E2A  397C 001F 0010           move.w     [A4 + 0x10], 0x1F
  1371. 00000E30  397C 02DC 0012           move.w     [A4 + 0x12], 0x2DC
  1372. 00000E36  397C 029A 0014           move.w     [A4 + 0x14], 0x29A
  1373. 00000E3C  397C 0001 0016           move.w     [A4 + 0x16], 0x1
  1374. 00000E42  397C 00FF 0018           move.w     [A4 + 0x18], 0xFF
  1375. 00000E48  397C 01FC 001A           move.w     [A4 + 0x1A], 0x1FC
  1376. 00000E4E  426C 0026                clr.w      [A4 + 0x26]
  1377. 00000E52  7000                     moveq.l    D0, 0x00
  1378. 00000E54  2F00                     move.l     -[A7], D0
  1379. 00000E56  7205                     moveq.l    D1, 0x05
  1380. 00000E58  2F01                     move.l     -[A7], D1
  1381. 00000E5A  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1382. 00000E60  7003                     moveq.l    D0, 0x03
  1383. 00000E62  2F00                     move.l     -[A7], D0
  1384. 00000E64  2F07                     move.l     -[A7], D7
  1385. 00000E66  4EBA F908                jsr        [PC - 0x6F8 /* 00000770 */]
  1386. 00000E6A  7001                     moveq.l    D0, 0x01
  1387. 00000E6C  2F00                     move.l     -[A7], D0
  1388. 00000E6E  7208                     moveq.l    D1, 0x08
  1389. 00000E70  2F01                     move.l     -[A7], D1
  1390. 00000E72  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1391. 00000E78  7003                     moveq.l    D0, 0x03
  1392. 00000E7A  2F00                     move.l     -[A7], D0
  1393. 00000E7C  2F07                     move.l     -[A7], D7
  1394. 00000E7E  4EBA F8F0                jsr        [PC - 0x710 /* 00000770 */]
  1395. 00000E82  7000                     moveq.l    D0, 0x00
  1396. 00000E84  2F00                     move.l     -[A7], D0
  1397. 00000E86  7204                     moveq.l    D1, 0x04
  1398. 00000E88  2F01                     move.l     -[A7], D1
  1399. 00000E8A  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1400. 00000E90  7003                     moveq.l    D0, 0x03
  1401. 00000E92  2F00                     move.l     -[A7], D0
  1402. 00000E94  2F07                     move.l     -[A7], D7
  1403. 00000E96  4EBA F8D8                jsr        [PC - 0x728 /* 00000770 */]
  1404. 00000E9A  7062                     moveq.l    D0, 0x62
  1405. 00000E9C  B06C 0146                cmp.w      D0, [A4 + 0x146]
  1406. 00000EA0  4FEF 003C                lea.l      A7, [A7 + 0x3C]
  1407. 00000EA4  6600 00C0                bne        +0xC2 /* 00000F66 */
  1408. 00000EA8  4A6C 0026                tst.w      [A4 + 0x26]
  1409. 00000EAC  6722                     beq        +0x24 /* 00000ED0 */
  1410. 00000EAE  302C 0010                move.w     D0, [A4 + 0x10]
  1411. 00000EB2  48C0                     ext.l      D0
  1412. 00000EB4  4C3C 0800 0000           movem.w    A3, 0x0
  1413. 00000EBA  23C1 D0BC 0000           move.l     [0xD0BC0000], D1
  1414. 00000EC0  1388 4C7C                move.b     [A1 + D4 * 4 + 0x7C], A0
  1415. 00000EC4  0800 0000                btst.b     D0, 0x0
  1416. 00000EC8  2710                     move.l     -[A3], [A0]
  1417. 00000ECA  720A                     moveq.l    D1, 0x0A
  1418. 00000ECC  9081                     sub.l      D0, D1
  1419. 00000ECE  6020                     bra        +0x22 /* 00000EF0 */
  1420. label00000ED0:
  1421. 00000ED0  302C 0010                move.w     D0, [A4 + 0x10]
  1422. 00000ED4  48C0                     ext.l      D0
  1423. 00000ED6  4C3C 0800 0000           movem.w    A3, 0x0
  1424. 00000EDC  2AF8 D0BC                move.l     [A5]+, [0xFFFFD0BC]
  1425. 00000EE0  0000 1388                ori.b      D0, 0x88
  1426. 00000EE4  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  1427. 00000EEC  7212                     moveq.l    D1, 0x12
  1428. 00000EEE  9081                     sub.l      D0, D1
  1429. label00000EF0:
  1430. 00000EF0  720F                     moveq.l    D1, 0x0F
  1431. 00000EF2  9081                     sub.l      D0, D1
  1432. 00000EF4  2F00                     move.l     -[A7], D0
  1433. 00000EF6  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  1434. 00000EFC  7002                     moveq.l    D0, 0x02
  1435. 00000EFE  2F00                     move.l     -[A7], D0
  1436. 00000F00  2F07                     move.l     -[A7], D7
  1437. 00000F02  4EBA F81A                jsr        [PC - 0x7E6 /* 0000071E */]
  1438. 00000F06  4A6C 0026                tst.w      [A4 + 0x26]
  1439. 00000F0A  6722                     beq        +0x24 /* 00000F2E */
  1440. 00000F0C  302C 0012                move.w     D0, [A4 + 0x12]
  1441. 00000F10  48C0                     ext.l      D0
  1442. 00000F12  4C3C 0800 0000           movem.w    A3, 0x0
  1443. 00000F18  23C1 D0BC 0000           move.l     [0xD0BC0000], D1
  1444. 00000F1E  1388 4C7C                move.b     [A1 + D4 * 4 + 0x7C], A0
  1445. 00000F22  0800 0000                btst.b     D0, 0x0
  1446. 00000F26  2710                     move.l     -[A3], [A0]
  1447. 00000F28  720A                     moveq.l    D1, 0x0A
  1448. 00000F2A  9081                     sub.l      D0, D1
  1449. 00000F2C  6020                     bra        +0x22 /* 00000F4E */
  1450. label00000F2E:
  1451. 00000F2E  302C 0012                move.w     D0, [A4 + 0x12]
  1452. 00000F32  48C0                     ext.l      D0
  1453. 00000F34  4C3C 0800 0000           movem.w    A3, 0x0
  1454. 00000F3A  2AF8 D0BC                move.l     [A5]+, [0xFFFFD0BC]
  1455. 00000F3E  0000 1388                ori.b      D0, 0x88
  1456. 00000F42  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  1457. 00000F4A  7212                     moveq.l    D1, 0x12
  1458. 00000F4C  9081                     sub.l      D0, D1
  1459. label00000F4E:
  1460. 00000F4E  2F00                     move.l     -[A7], D0
  1461. 00000F50  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  1462. 00000F56  7002                     moveq.l    D0, 0x02
  1463. 00000F58  2F00                     move.l     -[A7], D0
  1464. 00000F5A  2F07                     move.l     -[A7], D7
  1465. 00000F5C  4EBA F7C0                jsr        [PC - 0x840 /* 0000071E */]
  1466. 00000F60  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1467. 00000F64  6038                     bra        +0x3A /* 00000F9E */
  1468. label00000F66:
  1469. 00000F66  302C 0010                move.w     D0, [A4 + 0x10]
  1470. 00000F6A  48C0                     ext.l      D0
  1471. 00000F6C  720F                     moveq.l    D1, 0x0F
  1472. 00000F6E  9081                     sub.l      D0, D1
  1473. 00000F70  2F00                     move.l     -[A7], D0
  1474. 00000F72  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  1475. 00000F78  7002                     moveq.l    D0, 0x02
  1476. 00000F7A  2F00                     move.l     -[A7], D0
  1477. 00000F7C  2F07                     move.l     -[A7], D7
  1478. 00000F7E  4EBA F79E                jsr        [PC - 0x862 /* 0000071E */]
  1479. 00000F82  302C 0012                move.w     D0, [A4 + 0x12]
  1480. 00000F86  48C0                     ext.l      D0
  1481. 00000F88  2F00                     move.l     -[A7], D0
  1482. 00000F8A  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  1483. 00000F90  7002                     moveq.l    D0, 0x02
  1484. 00000F92  2F00                     move.l     -[A7], D0
  1485. 00000F94  2F07                     move.l     -[A7], D7
  1486. 00000F96  4EBA F786                jsr        [PC - 0x87A /* 0000071E */]
  1487. 00000F9A  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1488. label00000F9E:
  1489. 00000F9E  396C 0010 001C           move.w     [A4 + 0x1C], [A4 + 0x10]
  1490. 00000FA4  396C 0012 001E           move.w     [A4 + 0x1E], [A4 + 0x12]
  1491. 00000FAA  302C 0016                move.w     D0, [A4 + 0x16]
  1492. 00000FAE  48C0                     ext.l      D0
  1493. 00000FB0  2F00                     move.l     -[A7], D0
  1494. 00000FB2  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  1495. 00000FB8  7002                     moveq.l    D0, 0x02
  1496. 00000FBA  2F00                     move.l     -[A7], D0
  1497. 00000FBC  2F07                     move.l     -[A7], D7
  1498. 00000FBE  4EBA F75E                jsr        [PC - 0x8A2 /* 0000071E */]
  1499. 00000FC2  302C 0018                move.w     D0, [A4 + 0x18]
  1500. 00000FC6  48C0                     ext.l      D0
  1501. 00000FC8  2F00                     move.l     -[A7], D0
  1502. 00000FCA  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1503. 00000FD0  7002                     moveq.l    D0, 0x02
  1504. 00000FD2  2F00                     move.l     -[A7], D0
  1505. 00000FD4  2F07                     move.l     -[A7], D7
  1506. 00000FD6  4EBA F746                jsr        [PC - 0x8BA /* 0000071E */]
  1507. 00000FDA  396C 0016 0020           move.w     [A4 + 0x20], [A4 + 0x16]
  1508. 00000FE0  396C 0018 0022           move.w     [A4 + 0x22], [A4 + 0x18]
  1509. 00000FE6  4878 0200                push.l     0x200
  1510. 00000FEA  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1511. 00000FF0  7002                     moveq.l    D0, 0x02
  1512. 00000FF2  2F00                     move.l     -[A7], D0
  1513. 00000FF4  2F07                     move.l     -[A7], D7
  1514. 00000FF6  4EBA F726                jsr        [PC - 0x8DA /* 0000071E */]
  1515. 00000FFA  4878 0080                push.l     0x80
  1516. 00000FFE  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  1517. 00001004  7002                     moveq.l    D0, 0x02
  1518. 00001006  2F00                     move.l     -[A7], D0
  1519. 00001008  2F07                     move.l     -[A7], D7
  1520. 0000100A  4EBA F712                jsr        [PC - 0x8EE /* 0000071E */]
  1521. 0000100E  4878 00A0                push.l     0xA0
  1522. 00001012  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  1523. 00001018  7003                     moveq.l    D0, 0x03
  1524. 0000101A  2F00                     move.l     -[A7], D0
  1525. 0000101C  2F07                     move.l     -[A7], D7
  1526. 0000101E  4EBA F6FE                jsr        [PC - 0x902 /* 0000071E */]
  1527. 00001022  7078                     moveq.l    D0, 0x78
  1528. 00001024  2F00                     move.l     -[A7], D0
  1529. 00001026  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  1530. 0000102C  7203                     moveq.l    D1, 0x03
  1531. 0000102E  2F01                     move.l     -[A7], D1
  1532. 00001030  2F07                     move.l     -[A7], D7
  1533. 00001032  4EBA F6EA                jsr        [PC - 0x916 /* 0000071E */]
  1534. 00001036  302C 0012                move.w     D0, [A4 + 0x12]
  1535. 0000103A  48C0                     ext.l      D0
  1536. 0000103C  322C 0010                move.w     D1, [A4 + 0x10]
  1537. 00001040  48C1                     ext.l      D1
  1538. 00001042  9081                     sub.l      D0, D1
  1539. 00001044  4C7C 0800 0000 0002      movem.l    A3, 0x2
  1540. 0000104C  D0BC 0000 009F           add.l      D0, 0x9F
  1541. 00001052  2F00                     move.l     -[A7], D0
  1542. 00001054  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1543. 0000105A  7002                     moveq.l    D0, 0x02
  1544. 0000105C  2F00                     move.l     -[A7], D0
  1545. 0000105E  2F07                     move.l     -[A7], D7
  1546. 00001060  4EBA F6BC                jsr        [PC - 0x944 /* 0000071E */]
  1547. 00001064  302C 0018                move.w     D0, [A4 + 0x18]
  1548. 00001068  48C0                     ext.l      D0
  1549. 0000106A  322C 0016                move.w     D1, [A4 + 0x16]
  1550. 0000106E  48C1                     ext.l      D1
  1551. 00001070  9081                     sub.l      D0, D1
  1552. 00001072  4C7C 0800 0000 0002      movem.l    A3, 0x2
  1553. 0000107A  723C                     moveq.l    D1, 0x3C
  1554. 0000107C  D081                     add.l      D0, D1
  1555. 0000107E  2F00                     move.l     -[A7], D0
  1556. 00001080  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  1557. 00001086  7002                     moveq.l    D0, 0x02
  1558. 00001088  2F00                     move.l     -[A7], D0
  1559. 0000108A  2F07                     move.l     -[A7], D7
  1560. 0000108C  4EBA F690                jsr        [PC - 0x970 /* 0000071E */]
  1561. 00001090  7003                     moveq.l    D0, 0x03
  1562. 00001092  2F00                     move.l     -[A7], D0
  1563. 00001094  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  1564. 0000109A  2F00                     move.l     -[A7], D0
  1565. 0000109C  2F07                     move.l     -[A7], D7
  1566. 0000109E  4EBA F67E                jsr        [PC - 0x982 /* 0000071E */]
  1567. 000010A2  7001                     moveq.l    D0, 0x01
  1568. 000010A4  2F00                     move.l     -[A7], D0
  1569. 000010A6  7204                     moveq.l    D1, 0x04
  1570. 000010A8  2F01                     move.l     -[A7], D1
  1571. 000010AA  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1572. 000010B0  7003                     moveq.l    D0, 0x03
  1573. 000010B2  2F00                     move.l     -[A7], D0
  1574. 000010B4  2F07                     move.l     -[A7], D7
  1575. 000010B6  4EBA F6B8                jsr        [PC - 0x948 /* 00000770 */]
  1576. 000010BA  7001                     moveq.l    D0, 0x01
  1577. 000010BC  2F00                     move.l     -[A7], D0
  1578. 000010BE  7203                     moveq.l    D1, 0x03
  1579. 000010C0  2F01                     move.l     -[A7], D1
  1580. 000010C2  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1581. 000010C8  2F01                     move.l     -[A7], D1
  1582. 000010CA  2F07                     move.l     -[A7], D7
  1583. 000010CC  4EBA F6A2                jsr        [PC - 0x95E /* 00000770 */]
  1584. 000010D0  7001                     moveq.l    D0, 0x01
  1585. 000010D2  2F00                     move.l     -[A7], D0
  1586. 000010D4  7202                     moveq.l    D1, 0x02
  1587. 000010D6  2F01                     move.l     -[A7], D1
  1588. 000010D8  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1589. 000010DE  7003                     moveq.l    D0, 0x03
  1590. 000010E0  2F00                     move.l     -[A7], D0
  1591. 000010E2  2F07                     move.l     -[A7], D7
  1592. 000010E4  4EBA F68A                jsr        [PC - 0x976 /* 00000770 */]
  1593. 000010E8  7001                     moveq.l    D0, 0x01
  1594. 000010EA  2F00                     move.l     -[A7], D0
  1595. 000010EC  2F00                     move.l     -[A7], D0
  1596. 000010EE  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1597. 000010F4  7203                     moveq.l    D1, 0x03
  1598. 000010F6  2F01                     move.l     -[A7], D1
  1599. 000010F8  2F07                     move.l     -[A7], D7
  1600. 000010FA  4EBA F674                jsr        [PC - 0x98C /* 00000770 */]
  1601. 000010FE  7001                     moveq.l    D0, 0x01
  1602. 00001100  2F00                     move.l     -[A7], D0
  1603. 00001102  7200                     moveq.l    D1, 0x00
  1604. 00001104  2F01                     move.l     -[A7], D1
  1605. 00001106  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1606. 0000110C  7003                     moveq.l    D0, 0x03
  1607. 0000110E  2F00                     move.l     -[A7], D0
  1608. 00001110  2F07                     move.l     -[A7], D7
  1609. 00001112  4EBA F65C                jsr        [PC - 0x9A4 /* 00000770 */]
  1610. 00001116  7010                     moveq.l    D0, 0x10
  1611. 00001118  2F00                     move.l     -[A7], D0
  1612. 0000111A  7218                     moveq.l    D1, 0x18
  1613. 0000111C  2F01                     move.l     -[A7], D1
  1614. 0000111E  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1615. 00001124  7003                     moveq.l    D0, 0x03
  1616. 00001126  2F00                     move.l     -[A7], D0
  1617. 00001128  2F07                     move.l     -[A7], D7
  1618. 0000112A  4EBA F6AC                jsr        [PC - 0x954 /* 000007D8 */]
  1619. 0000112E  7000                     moveq.l    D0, 0x00
  1620. 00001130  2F00                     move.l     -[A7], D0
  1621. 00001132  7209                     moveq.l    D1, 0x09
  1622. 00001134  2F01                     move.l     -[A7], D1
  1623. 00001136  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1624. 0000113C  7003                     moveq.l    D0, 0x03
  1625. 0000113E  2F00                     move.l     -[A7], D0
  1626. 00001140  2F07                     move.l     -[A7], D7
  1627. 00001142  4EBA F62C                jsr        [PC - 0x9D4 /* 00000770 */]
  1628. 00001146  7001                     moveq.l    D0, 0x01
  1629. 00001148  2F00                     move.l     -[A7], D0
  1630. 0000114A  2F00                     move.l     -[A7], D0
  1631. 0000114C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1632. 00001152  7203                     moveq.l    D1, 0x03
  1633. 00001154  2F01                     move.l     -[A7], D1
  1634. 00001156  2F07                     move.l     -[A7], D7
  1635. 00001158  4EBA F616                jsr        [PC - 0x9EA /* 00000770 */]
  1636. 0000115C  7000                     moveq.l    D0, 0x00
  1637. 0000115E  2F00                     move.l     -[A7], D0
  1638. 00001160  7205                     moveq.l    D1, 0x05
  1639. 00001162  2F01                     move.l     -[A7], D1
  1640. 00001164  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1641. 0000116A  7003                     moveq.l    D0, 0x03
  1642. 0000116C  2F00                     move.l     -[A7], D0
  1643. 0000116E  2F07                     move.l     -[A7], D7
  1644. 00001170  4EBA F5FE                jsr        [PC - 0xA02 /* 00000770 */]
  1645. 00001174  7001                     moveq.l    D0, 0x01
  1646. 00001176  2F00                     move.l     -[A7], D0
  1647. 00001178  7205                     moveq.l    D1, 0x05
  1648. 0000117A  2F01                     move.l     -[A7], D1
  1649. 0000117C  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1650. 00001182  7003                     moveq.l    D0, 0x03
  1651. 00001184  2F00                     move.l     -[A7], D0
  1652. 00001186  2F07                     move.l     -[A7], D7
  1653. 00001188  4EBA F5E6                jsr        [PC - 0xA1A /* 00000770 */]
  1654. 0000118C  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  1655. 00001192  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1656. 00001196  2049                     movea.l    A0, A1
  1657. 00001198  1010                     move.b     D0, [A0]
  1658. 0000119A  A05D                     syscall    SwapMMUMode
  1659. 0000119C  1080                     move.b     [A0], D0
  1660. 0000119E  2C13                     move.l     D6, [A3]
  1661. 000011A0  7000                     moveq.l    D0, 0x00
  1662. 000011A2  2680                     move.l     [A3], D0
  1663. 000011A4  206E FFF6                movea.l    A0, [A6 - 0xA]
  1664. 000011A8  0090 0000 0004           ori.l      [A0], 0x4
  1665. 000011AE  2686                     move.l     [A3], D6
  1666. 000011B0  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1667. 000011B4  2049                     movea.l    A0, A1
  1668. 000011B6  1010                     move.b     D0, [A0]
  1669. 000011B8  A05D                     syscall    SwapMMUMode
  1670. 000011BA  1080                     move.b     [A0], D0
  1671. 000011BC  7001                     moveq.l    D0, 0x01
  1672. 000011BE  2F00                     move.l     -[A7], D0
  1673. 000011C0  7204                     moveq.l    D1, 0x04
  1674. 000011C2  2F01                     move.l     -[A7], D1
  1675. 000011C4  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1676. 000011CA  7003                     moveq.l    D0, 0x03
  1677. 000011CC  2F00                     move.l     -[A7], D0
  1678. 000011CE  2F07                     move.l     -[A7], D7
  1679. 000011D0  4EBA F59E                jsr        [PC - 0xA62 /* 00000770 */]
  1680. 000011D4  7001                     moveq.l    D0, 0x01
  1681. 000011D6  2F00                     move.l     -[A7], D0
  1682. 000011D8  7206                     moveq.l    D1, 0x06
  1683. 000011DA  2F01                     move.l     -[A7], D1
  1684. 000011DC  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1685. 000011E2  7003                     moveq.l    D0, 0x03
  1686. 000011E4  2F00                     move.l     -[A7], D0
  1687. 000011E6  2F07                     move.l     -[A7], D7
  1688. 000011E8  4EBA F586                jsr        [PC - 0xA7A /* 00000770 */]
  1689. 000011EC  7000                     moveq.l    D0, 0x00
  1690. 000011EE  2F00                     move.l     -[A7], D0
  1691. 000011F0  2F00                     move.l     -[A7], D0
  1692. 000011F2  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1693. 000011F8  7203                     moveq.l    D1, 0x03
  1694. 000011FA  2F01                     move.l     -[A7], D1
  1695. 000011FC  2F07                     move.l     -[A7], D7
  1696. 000011FE  4EBA F570                jsr        [PC - 0xA90 /* 00000770 */]
  1697. 00001202  7000                     moveq.l    D0, 0x00
  1698. 00001204  2F00                     move.l     -[A7], D0
  1699. 00001206  7201                     moveq.l    D1, 0x01
  1700. 00001208  2F01                     move.l     -[A7], D1
  1701. 0000120A  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1702. 00001210  7003                     moveq.l    D0, 0x03
  1703. 00001212  2F00                     move.l     -[A7], D0
  1704. 00001214  2F07                     move.l     -[A7], D7
  1705. 00001216  4EBA F558                jsr        [PC - 0xAA8 /* 00000770 */]
  1706. 0000121A  4FEF 01A8                lea.l      A7, [A7 + 0x1A8]
  1707. 0000121E  4CEE 18C0 FFE6           movem.l    D6,D7,A3,A4, [A6 - 0x1A]
  1708. 00001224  4E5E                     unlink     A6
  1709. 00001226  4E75                     rts
  1710. fn00001228:
  1711. 00001228  4E56 0000                link       A6, 0
  1712. 0000122C  2F0C                     move.l     -[A7], A4
  1713. 0000122E  286E 0008                movea.l    A4, [A6 + 0x8]
  1714. 00001232  2F0C                     move.l     -[A7], A4
  1715. 00001234  7000                     moveq.l    D0, 0x00
  1716. 00001236  2F00                     move.l     -[A7], D0
  1717. 00001238  2F00                     move.l     -[A7], D0
  1718. 0000123A  2F00                     move.l     -[A7], D0
  1719. 0000123C  4EBA 0354                jsr        [PC + 0x354 /* 00001592 */]
  1720. 00001240  2F0C                     move.l     -[A7], A4
  1721. 00001242  7000                     moveq.l    D0, 0x00
  1722. 00001244  2F00                     move.l     -[A7], D0
  1723. 00001246  2F00                     move.l     -[A7], D0
  1724. 00001248  2F00                     move.l     -[A7], D0
  1725. 0000124A  4EBA 0346                jsr        [PC + 0x346 /* 00001592 */]
  1726. 0000124E  7062                     moveq.l    D0, 0x62
  1727. 00001250  B06C 0146                cmp.w      D0, [A4 + 0x146]
  1728. 00001254  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1729. 00001258  6600 00E2                bne        +0xE4 /* 0000133C */
  1730. 0000125C  2F0C                     move.l     -[A7], A4
  1731. 0000125E  7050                     moveq.l    D0, 0x50
  1732. 00001260  2F00                     move.l     -[A7], D0
  1733. 00001262  7200                     moveq.l    D1, 0x00
  1734. 00001264  2F01                     move.l     -[A7], D1
  1735. 00001266  4878 008A                push.l     0x8A
  1736. 0000126A  4EBA 0326                jsr        [PC + 0x326 /* 00001592 */]
  1737. 0000126E  2F0C                     move.l     -[A7], A4
  1738. 00001270  7035                     moveq.l    D0, 0x35
  1739. 00001272  2F00                     move.l     -[A7], D0
  1740. 00001274  7201                     moveq.l    D1, 0x01
  1741. 00001276  2F01                     move.l     -[A7], D1
  1742. 00001278  4878 008A                push.l     0x8A
  1743. 0000127C  4EBA 0314                jsr        [PC + 0x314 /* 00001592 */]
  1744. 00001280  2F0C                     move.l     -[A7], A4
  1745. 00001282  700A                     moveq.l    D0, 0x0A
  1746. 00001284  2F00                     move.l     -[A7], D0
  1747. 00001286  7202                     moveq.l    D1, 0x02
  1748. 00001288  2F01                     move.l     -[A7], D1
  1749. 0000128A  4878 008A                push.l     0x8A
  1750. 0000128E  4EBA 0302                jsr        [PC + 0x302 /* 00001592 */]
  1751. 00001292  2F0C                     move.l     -[A7], A4
  1752. 00001294  4878 00F8                push.l     0xF8
  1753. 00001298  7003                     moveq.l    D0, 0x03
  1754. 0000129A  2F00                     move.l     -[A7], D0
  1755. 0000129C  4878 008A                push.l     0x8A
  1756. 000012A0  4EBA 02F0                jsr        [PC + 0x2F0 /* 00001592 */]
  1757. 000012A4  2F0C                     move.l     -[A7], A4
  1758. 000012A6  4878 00D6                push.l     0xD6
  1759. 000012AA  7004                     moveq.l    D0, 0x04
  1760. 000012AC  2F00                     move.l     -[A7], D0
  1761. 000012AE  4878 008A                push.l     0x8A
  1762. 000012B2  4EBA 02DE                jsr        [PC + 0x2DE /* 00001592 */]
  1763. 000012B6  2F0C                     move.l     -[A7], A4
  1764. 000012B8  4878 00FF                push.l     0xFF
  1765. 000012BC  7005                     moveq.l    D0, 0x05
  1766. 000012BE  2F00                     move.l     -[A7], D0
  1767. 000012C0  4878 008A                push.l     0x8A
  1768. 000012C4  4EBA 02CC                jsr        [PC + 0x2CC /* 00001592 */]
  1769. 000012C8  2F0C                     move.l     -[A7], A4
  1770. 000012CA  7023                     moveq.l    D0, 0x23
  1771. 000012CC  2F00                     move.l     -[A7], D0
  1772. 000012CE  7206                     moveq.l    D1, 0x06
  1773. 000012D0  2F01                     move.l     -[A7], D1
  1774. 000012D2  4878 008A                push.l     0x8A
  1775. 000012D6  4EBA 02BA                jsr        [PC + 0x2BA /* 00001592 */]
  1776. 000012DA  2F0C                     move.l     -[A7], A4
  1777. 000012DC  7000                     moveq.l    D0, 0x00
  1778. 000012DE  2F00                     move.l     -[A7], D0
  1779. 000012E0  7207                     moveq.l    D1, 0x07
  1780. 000012E2  2F01                     move.l     -[A7], D1
  1781. 000012E4  4878 008A                push.l     0x8A
  1782. 000012E8  4EBA 02A8                jsr        [PC + 0x2A8 /* 00001592 */]
  1783. 000012EC  2F0C                     move.l     -[A7], A4
  1784. 000012EE  7057                     moveq.l    D0, 0x57
  1785. 000012F0  2F00                     move.l     -[A7], D0
  1786. 000012F2  7208                     moveq.l    D1, 0x08
  1787. 000012F4  2F01                     move.l     -[A7], D1
  1788. 000012F6  4878 008A                push.l     0x8A
  1789. 000012FA  4EBA 0296                jsr        [PC + 0x296 /* 00001592 */]
  1790. 000012FE  2F0C                     move.l     -[A7], A4
  1791. 00001300  4878 00EC                push.l     0xEC
  1792. 00001304  7009                     moveq.l    D0, 0x09
  1793. 00001306  2F00                     move.l     -[A7], D0
  1794. 00001308  4878 008A                push.l     0x8A
  1795. 0000130C  4EBA 0284                jsr        [PC + 0x284 /* 00001592 */]
  1796. 00001310  2F0C                     move.l     -[A7], A4
  1797. 00001312  7011                     moveq.l    D0, 0x11
  1798. 00001314  2F00                     move.l     -[A7], D0
  1799. 00001316  720A                     moveq.l    D1, 0x0A
  1800. 00001318  2F01                     move.l     -[A7], D1
  1801. 0000131A  4878 008A                push.l     0x8A
  1802. 0000131E  4EBA 0272                jsr        [PC + 0x272 /* 00001592 */]
  1803. 00001322  2F0C                     move.l     -[A7], A4
  1804. 00001324  7000                     moveq.l    D0, 0x00
  1805. 00001326  2F00                     move.l     -[A7], D0
  1806. 00001328  720B                     moveq.l    D1, 0x0B
  1807. 0000132A  2F01                     move.l     -[A7], D1
  1808. 0000132C  4878 008A                push.l     0x8A
  1809. 00001330  4EBA 0260                jsr        [PC + 0x260 /* 00001592 */]
  1810. 00001334  4FEF 00C0                lea.l      A7, [A7 + 0xC0]
  1811. 00001338  6000 01A4                bra        +0x1A6 /* 000014DE */
  1812. label0000133C:
  1813. 0000133C  2F0C                     move.l     -[A7], A4
  1814. 0000133E  7050                     moveq.l    D0, 0x50
  1815. 00001340  2F00                     move.l     -[A7], D0
  1816. 00001342  7200                     moveq.l    D1, 0x00
  1817. 00001344  2F01                     move.l     -[A7], D1
  1818. 00001346  4878 008A                push.l     0x8A
  1819. 0000134A  4EBA 0246                jsr        [PC + 0x246 /* 00001592 */]
  1820. 0000134E  2F0C                     move.l     -[A7], A4
  1821. 00001350  7030                     moveq.l    D0, 0x30
  1822. 00001352  2F00                     move.l     -[A7], D0
  1823. 00001354  7201                     moveq.l    D1, 0x01
  1824. 00001356  2F01                     move.l     -[A7], D1
  1825. 00001358  4878 008A                push.l     0x8A
  1826. 0000135C  4EBA 0234                jsr        [PC + 0x234 /* 00001592 */]
  1827. 00001360  2F0C                     move.l     -[A7], A4
  1828. 00001362  7000                     moveq.l    D0, 0x00
  1829. 00001364  2F00                     move.l     -[A7], D0
  1830. 00001366  7202                     moveq.l    D1, 0x02
  1831. 00001368  2F01                     move.l     -[A7], D1
  1832. 0000136A  4878 008A                push.l     0x8A
  1833. 0000136E  4EBA 0222                jsr        [PC + 0x222 /* 00001592 */]
  1834. 00001372  2F0C                     move.l     -[A7], A4
  1835. 00001374  4878 00E8                push.l     0xE8
  1836. 00001378  7003                     moveq.l    D0, 0x03
  1837. 0000137A  2F00                     move.l     -[A7], D0
  1838. 0000137C  4878 008A                push.l     0x8A
  1839. 00001380  4EBA 0210                jsr        [PC + 0x210 /* 00001592 */]
  1840. 00001384  2F0C                     move.l     -[A7], A4
  1841. 00001386  4878 00B6                push.l     0xB6
  1842. 0000138A  7004                     moveq.l    D0, 0x04
  1843. 0000138C  2F00                     move.l     -[A7], D0
  1844. 0000138E  4878 008A                push.l     0x8A
  1845. 00001392  4EBA 01FE                jsr        [PC + 0x1FE /* 00001592 */]
  1846. 00001396  2F0C                     move.l     -[A7], A4
  1847. 00001398  7034                     moveq.l    D0, 0x34
  1848. 0000139A  2F00                     move.l     -[A7], D0
  1849. 0000139C  7205                     moveq.l    D1, 0x05
  1850. 0000139E  2F01                     move.l     -[A7], D1
  1851. 000013A0  4878 008A                push.l     0x8A
  1852. 000013A4  4EBA 01EC                jsr        [PC + 0x1EC /* 00001592 */]
  1853. 000013A8  2F0C                     move.l     -[A7], A4
  1854. 000013AA  7013                     moveq.l    D0, 0x13
  1855. 000013AC  2F00                     move.l     -[A7], D0
  1856. 000013AE  7206                     moveq.l    D1, 0x06
  1857. 000013B0  2F01                     move.l     -[A7], D1
  1858. 000013B2  4878 008A                push.l     0x8A
  1859. 000013B6  4EBA 01DA                jsr        [PC + 0x1DA /* 00001592 */]
  1860. 000013BA  2F0C                     move.l     -[A7], A4
  1861. 000013BC  7000                     moveq.l    D0, 0x00
  1862. 000013BE  2F00                     move.l     -[A7], D0
  1863. 000013C0  7207                     moveq.l    D1, 0x07
  1864. 000013C2  2F01                     move.l     -[A7], D1
  1865. 000013C4  4878 008A                push.l     0x8A
  1866. 000013C8  4EBA 01C8                jsr        [PC + 0x1C8 /* 00001592 */]
  1867. 000013CC  2F0C                     move.l     -[A7], A4
  1868. 000013CE  4878 00FE                push.l     0xFE
  1869. 000013D2  7008                     moveq.l    D0, 0x08
  1870. 000013D4  2F00                     move.l     -[A7], D0
  1871. 000013D6  4878 008A                push.l     0x8A
  1872. 000013DA  4EBA 01B6                jsr        [PC + 0x1B6 /* 00001592 */]
  1873. 000013DE  2F0C                     move.l     -[A7], A4
  1874. 000013E0  4878 00F0                push.l     0xF0
  1875. 000013E4  7009                     moveq.l    D0, 0x09
  1876. 000013E6  2F00                     move.l     -[A7], D0
  1877. 000013E8  4878 008A                push.l     0x8A
  1878. 000013EC  4EBA 01A4                jsr        [PC + 0x1A4 /* 00001592 */]
  1879. 000013F0  2F0C                     move.l     -[A7], A4
  1880. 000013F2  4878 00FE                push.l     0xFE
  1881. 000013F6  700A                     moveq.l    D0, 0x0A
  1882. 000013F8  2F00                     move.l     -[A7], D0
  1883. 000013FA  4878 008A                push.l     0x8A
  1884. 000013FE  4EBA 0192                jsr        [PC + 0x192 /* 00001592 */]
  1885. 00001402  2F0C                     move.l     -[A7], A4
  1886. 00001404  4878 00E0                push.l     0xE0
  1887. 00001408  700B                     moveq.l    D0, 0x0B
  1888. 0000140A  2F00                     move.l     -[A7], D0
  1889. 0000140C  4878 008A                push.l     0x8A
  1890. 00001410  4EBA 0180                jsr        [PC + 0x180 /* 00001592 */]
  1891. 00001414  2F0C                     move.l     -[A7], A4
  1892. 00001416  7020                     moveq.l    D0, 0x20
  1893. 00001418  2F00                     move.l     -[A7], D0
  1894. 0000141A  720C                     moveq.l    D1, 0x0C
  1895. 0000141C  2F01                     move.l     -[A7], D1
  1896. 0000141E  4878 008A                push.l     0x8A
  1897. 00001422  4EBA 016E                jsr        [PC + 0x16E /* 00001592 */]
  1898. 00001426  2F0C                     move.l     -[A7], A4
  1899. 00001428  7000                     moveq.l    D0, 0x00
  1900. 0000142A  2F00                     move.l     -[A7], D0
  1901. 0000142C  720D                     moveq.l    D1, 0x0D
  1902. 0000142E  2F01                     move.l     -[A7], D1
  1903. 00001430  4878 008A                push.l     0x8A
  1904. 00001434  4EBA 015C                jsr        [PC + 0x15C /* 00001592 */]
  1905. 00001438  2F0C                     move.l     -[A7], A4
  1906. 0000143A  707A                     moveq.l    D0, 0x7A
  1907. 0000143C  2F00                     move.l     -[A7], D0
  1908. 0000143E  720E                     moveq.l    D1, 0x0E
  1909. 00001440  2F01                     move.l     -[A7], D1
  1910. 00001442  4878 008A                push.l     0x8A
  1911. 00001446  4EBA 014A                jsr        [PC + 0x14A /* 00001592 */]
  1912. 0000144A  2F0C                     move.l     -[A7], A4
  1913. 0000144C  707F                     moveq.l    D0, 0x7F
  1914. 0000144E  2F00                     move.l     -[A7], D0
  1915. 00001450  720F                     moveq.l    D1, 0x0F
  1916. 00001452  2F01                     move.l     -[A7], D1
  1917. 00001454  4878 008A                push.l     0x8A
  1918. 00001458  4EBA 0138                jsr        [PC + 0x138 /* 00001592 */]
  1919. 0000145C  2F0C                     move.l     -[A7], A4
  1920. 0000145E  7003                     moveq.l    D0, 0x03
  1921. 00001460  2F00                     move.l     -[A7], D0
  1922. 00001462  7210                     moveq.l    D1, 0x10
  1923. 00001464  2F01                     move.l     -[A7], D1
  1924. 00001466  4878 008A                push.l     0x8A
  1925. 0000146A  4EBA 0126                jsr        [PC + 0x126 /* 00001592 */]
  1926. 0000146E  2F0C                     move.l     -[A7], A4
  1927. 00001470  4878 0080                push.l     0x80
  1928. 00001474  7011                     moveq.l    D0, 0x11
  1929. 00001476  2F00                     move.l     -[A7], D0
  1930. 00001478  4878 008A                push.l     0x8A
  1931. 0000147C  4EBA 0114                jsr        [PC + 0x114 /* 00001592 */]
  1932. 00001480  2F0C                     move.l     -[A7], A4
  1933. 00001482  703A                     moveq.l    D0, 0x3A
  1934. 00001484  2F00                     move.l     -[A7], D0
  1935. 00001486  7214                     moveq.l    D1, 0x14
  1936. 00001488  2F01                     move.l     -[A7], D1
  1937. 0000148A  4878 008A                push.l     0x8A
  1938. 0000148E  4EBA 0102                jsr        [PC + 0x102 /* 00001592 */]
  1939. 00001492  2F0C                     move.l     -[A7], A4
  1940. 00001494  7006                     moveq.l    D0, 0x06
  1941. 00001496  2F00                     move.l     -[A7], D0
  1942. 00001498  7215                     moveq.l    D1, 0x15
  1943. 0000149A  2F01                     move.l     -[A7], D1
  1944. 0000149C  4878 008A                push.l     0x8A
  1945. 000014A0  4EBA 00F0                jsr        [PC + 0xF0 /* 00001592 */]
  1946. 000014A4  2F0C                     move.l     -[A7], A4
  1947. 000014A6  4878 00FA                push.l     0xFA
  1948. 000014AA  7016                     moveq.l    D0, 0x16
  1949. 000014AC  2F00                     move.l     -[A7], D0
  1950. 000014AE  4878 008A                push.l     0x8A
  1951. 000014B2  4EBA 00DE                jsr        [PC + 0xDE /* 00001592 */]
  1952. 000014B6  2F0C                     move.l     -[A7], A4
  1953. 000014B8  4878 00D6                push.l     0xD6
  1954. 000014BC  7017                     moveq.l    D0, 0x17
  1955. 000014BE  2F00                     move.l     -[A7], D0
  1956. 000014C0  4878 008A                push.l     0x8A
  1957. 000014C4  4EBA 00CC                jsr        [PC + 0xCC /* 00001592 */]
  1958. 000014C8  2F0C                     move.l     -[A7], A4
  1959. 000014CA  7020                     moveq.l    D0, 0x20
  1960. 000014CC  2F00                     move.l     -[A7], D0
  1961. 000014CE  7218                     moveq.l    D1, 0x18
  1962. 000014D0  2F01                     move.l     -[A7], D1
  1963. 000014D2  4878 008A                push.l     0x8A
  1964. 000014D6  4EBA 00BA                jsr        [PC + 0xBA /* 00001592 */]
  1965. 000014DA  4FEF 0170                lea.l      A7, [A7 + 0x170]
  1966. label000014DE:
  1967. 000014DE  286E FFFC                movea.l    A4, [A6 - 0x4]
  1968. 000014E2  4E5E                     unlink     A6
  1969. 000014E4  4E75                     rts
  1970. fn000014E6:
  1971. 000014E6  4E56 FF00                link       A6, -0x0100
  1972. 000014EA  48E7 1118                movem.l    -[A7], D3,D7,A3,A4
  1973. 000014EE  266E 0008                movea.l    A3, [A6 + 0x8]
  1974. 000014F2  49EE FF00                lea.l      A4, [A6 - 0x100]
  1975. 000014F6  4247                     clr.w      D7
  1976. 000014F8  363C 0100                move.w     D3, 0x100
  1977. label000014FC:
  1978. 000014FC  1987 7000                move.b     [A4 + D7.w], D7
  1979. 00001500  3007                     move.w     D0, D7
  1980. 00001502  5247                     addq.w     D7, 1
  1981. 00001504  B647                     cmp.w      D3, D7
  1982. 00001506  6EF4                     bgt        -0xA /* 000014FC */
  1983. 00001508  7062                     moveq.l    D0, 0x62
  1984. 0000150A  B06B 0146                cmp.w      D0, [A3 + 0x146]
  1985. 0000150E  6618                     bne        +0x1A /* 00001528 */
  1986. 00001510  2F0B                     move.l     -[A7], A3
  1987. 00001512  7038                     moveq.l    D0, 0x38
  1988. 00001514  2F00                     move.l     -[A7], D0
  1989. 00001516  7200                     moveq.l    D1, 0x00
  1990. 00001518  2F01                     move.l     -[A7], D1
  1991. 0000151A  4878 00E0                push.l     0xE0
  1992. 0000151E  4EBA 0072                jsr        [PC + 0x72 /* 00001592 */]
  1993. 00001522  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1994. 00001526  6016                     bra        +0x18 /* 0000153E */
  1995. label00001528:
  1996. 00001528  2F0B                     move.l     -[A7], A3
  1997. 0000152A  703A                     moveq.l    D0, 0x3A
  1998. 0000152C  2F00                     move.l     -[A7], D0
  1999. 0000152E  7200                     moveq.l    D1, 0x00
  2000. 00001530  2F01                     move.l     -[A7], D1
  2001. 00001532  4878 00E0                push.l     0xE0
  2002. 00001536  4EBA 005A                jsr        [PC + 0x5A /* 00001592 */]
  2003. 0000153A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2004. label0000153E:
  2005. 0000153E  2F0B                     move.l     -[A7], A3
  2006. 00001540  2F0C                     move.l     -[A7], A4
  2007. 00001542  7001                     moveq.l    D0, 0x01
  2008. 00001544  2F00                     move.l     -[A7], D0
  2009. 00001546  4878 00E0                push.l     0xE0
  2010. 0000154A  4EBA 07CC                jsr        [PC + 0x7CC /* 00001D18 */]
  2011. 0000154E  7062                     moveq.l    D0, 0x62
  2012. 00001550  B06B 0146                cmp.w      D0, [A3 + 0x146]
  2013. 00001554  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2014. 00001558  6618                     bne        +0x1A /* 00001572 */
  2015. 0000155A  2F0B                     move.l     -[A7], A3
  2016. 0000155C  7078                     moveq.l    D0, 0x78
  2017. 0000155E  2F00                     move.l     -[A7], D0
  2018. 00001560  7200                     moveq.l    D1, 0x00
  2019. 00001562  2F01                     move.l     -[A7], D1
  2020. 00001564  4878 00E0                push.l     0xE0
  2021. 00001568  4EBA 0028                jsr        [PC + 0x28 /* 00001592 */]
  2022. 0000156C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2023. 00001570  6016                     bra        +0x18 /* 00001588 */
  2024. label00001572:
  2025. 00001572  2F0B                     move.l     -[A7], A3
  2026. 00001574  707A                     moveq.l    D0, 0x7A
  2027. 00001576  2F00                     move.l     -[A7], D0
  2028. 00001578  7200                     moveq.l    D1, 0x00
  2029. 0000157A  2F01                     move.l     -[A7], D1
  2030. 0000157C  4878 00E0                push.l     0xE0
  2031. 00001580  4EBA 0010                jsr        [PC + 0x10 /* 00001592 */]
  2032. 00001584  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2033. label00001588:
  2034. 00001588  4CEE 1888 FEF0           movem.l    D3,D7,A3,A4, [A6 - 0x110]
  2035. 0000158E  4E5E                     unlink     A6
  2036. 00001590  4E75                     rts
  2037. fn00001592:
  2038. 00001592  4E56 FFEC                link       A6, -0x0014
  2039. 00001596  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  2040. 0000159A  206E 0014                movea.l    A0, [A6 + 0x14]
  2041. 0000159E  2D50 FFF6                move.l     [A6 - 0xA], [A0]
  2042. 000015A2  266E FFF6                movea.l    A3, [A6 - 0xA]
  2043. 000015A6  D7FC 00FE 6018           add.l      A3, 0xFE6018
  2044. 000015AC  286E FFF6                movea.l    A4, [A6 - 0xA]
  2045. 000015B0  D9FC 00FE 701D           add.l      A4, 0xFE701D
  2046. 000015B6  1D7C 0001 FFFB           move.b     [A6 - 0x5], 0x1
  2047. 000015BC  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2048. 000015C0  2049                     movea.l    A0, A1
  2049. 000015C2  1010                     move.b     D0, [A0]
  2050. 000015C4  A05D                     syscall    SwapMMUMode
  2051. 000015C6  1080                     move.b     [A0], D0
  2052. 000015C8  2D53 FFFC                move.l     [A6 - 0x4], [A3]
  2053. 000015CC  7003                     moveq.l    D0, 0x03
  2054. 000015CE  2680                     move.l     [A3], D0
  2055. 000015D0  7A00                     moveq.l    D5, 0x00
  2056. 000015D2  1A14                     move.b     D5, [A4]
  2057. 000015D4  4A85                     tst.l      D5
  2058. 000015D6  722F                     moveq.l    D1, 0x2F
  2059. 000015D8  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  2060. 000015DC  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  2061. 000015E4  3801                     move.w     D4, D1
  2062. 000015E6  7228                     moveq.l    D1, 0x28
  2063. 000015E8  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  2064. 000015EC  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  2065. 000015F4  3D41 FFEC                move.w     [A6 - 0x14], D1
  2066. 000015F8  3D7C 0BB8 FFF4           move.w     [A6 - 0xC], 0xBB8
  2067. 000015FE  7600                     moveq.l    D3, 0x00
  2068. label00001600:
  2069. 00001600  7000                     moveq.l    D0, 0x00
  2070. 00001602  1014                     move.b     D0, [A4]
  2071. 00001604  4A80                     tst.l      D0
  2072. 00001606  7202                     moveq.l    D1, 0x02
  2073. 00001608  C200                     and.b      D1, D0
  2074. 0000160A  670E                     beq        +0x10 /* 0000161A */
  2075. 0000160C  7000                     moveq.l    D0, 0x00
  2076. 0000160E  1014                     move.b     D0, [A4]
  2077. 00001610  4A80                     tst.l      D0
  2078. 00001612  7201                     moveq.l    D1, 0x01
  2079. 00001614  C200                     and.b      D1, D0
  2080. 00001616  6600 0096                bne        +0x98 /* 000016AE */
  2081. label0000161A:
  2082. 0000161A  0245 FFFD                andi.w     D5, 0xFFFD
  2083. 0000161E  3C3C 0BB8                move.w     D6, 0xBB8
  2084. label00001622:
  2085. 00001622  7000                     moveq.l    D0, 0x00
  2086. 00001624  1014                     move.b     D0, [A4]
  2087. 00001626  4A80                     tst.l      D0
  2088. 00001628  7202                     moveq.l    D1, 0x02
  2089. 0000162A  C200                     and.b      D1, D0
  2090. 0000162C  7000                     moveq.l    D0, 0x00
  2091. 0000162E  1001                     move.b     D0, D1
  2092. 00001630  4A80                     tst.l      D0
  2093. 00001632  7202                     moveq.l    D1, 0x02
  2094. 00001634  C245                     and.w      D1, D5
  2095. 00001636  7400                     moveq.l    D2, 0x00
  2096. 00001638  3401                     move.w     D2, D1
  2097. 0000163A  4A82                     tst.l      D2
  2098. 0000163C  B480                     cmp.l      D2, D0
  2099. 0000163E  670E                     beq        +0x10 /* 0000164E */
  2100. 00001640  1885                     move.b     [A4], D5
  2101. 00001642  6002                     bra        +0x4 /* 00001646 */
  2102. 00001644  6008                     bra        +0xA /* 0000164E */
  2103. label00001646:
  2104. 00001646  3006                     move.w     D0, D6
  2105. 00001648  5346                     subq.w     D6, 1
  2106. 0000164A  B646                     cmp.w      D3, D6
  2107. 0000164C  6DD4                     blt        -0x2A /* 00001622 */
  2108. label0000164E:
  2109. 0000164E  0885 0000                bclr.b     D5, 0x0
  2110. 00001652  1885                     move.b     [A4], D5
  2111. 00001654  0045 0002                ori.w      D5, 0x2
  2112. 00001658  3C3C 0BB8                move.w     D6, 0xBB8
  2113. label0000165C:
  2114. 0000165C  7000                     moveq.l    D0, 0x00
  2115. 0000165E  1014                     move.b     D0, [A4]
  2116. 00001660  4A80                     tst.l      D0
  2117. 00001662  7202                     moveq.l    D1, 0x02
  2118. 00001664  C200                     and.b      D1, D0
  2119. 00001666  7000                     moveq.l    D0, 0x00
  2120. 00001668  1001                     move.b     D0, D1
  2121. 0000166A  4A80                     tst.l      D0
  2122. 0000166C  7202                     moveq.l    D1, 0x02
  2123. 0000166E  C245                     and.w      D1, D5
  2124. 00001670  7400                     moveq.l    D2, 0x00
  2125. 00001672  3401                     move.w     D2, D1
  2126. 00001674  4A82                     tst.l      D2
  2127. 00001676  B480                     cmp.l      D2, D0
  2128. 00001678  670E                     beq        +0x10 /* 00001688 */
  2129. 0000167A  1885                     move.b     [A4], D5
  2130. 0000167C  6002                     bra        +0x4 /* 00001680 */
  2131. 0000167E  6008                     bra        +0xA /* 00001688 */
  2132. label00001680:
  2133. 00001680  3006                     move.w     D0, D6
  2134. 00001682  5346                     subq.w     D6, 1
  2135. 00001684  B646                     cmp.w      D3, D6
  2136. 00001686  6DD4                     blt        -0x2A /* 0000165C */
  2137. label00001688:
  2138. 00001688  3E04                     move.w     D7, D4
  2139. 0000168A  5347                     subq.w     D7, 1
  2140. 0000168C  4A47                     tst.w      D7
  2141. 0000168E  6D04                     blt        +0x6 /* 00001694 */
  2142. label00001690:
  2143. 00001690  51CF FFFE                dbf        D7, -0x4 /* 00001690 */
  2144. label00001694:
  2145. 00001694  0045 0001                ori.w      D5, 0x1
  2146. 00001698  1885                     move.b     [A4], D5
  2147. 0000169A  6002                     bra        +0x4 /* 0000169E */
  2148. 0000169C  6010                     bra        +0x12 /* 000016AE */
  2149. label0000169E:
  2150. 0000169E  302E FFF4                move.w     D0, [A6 - 0xC]
  2151. 000016A2  536E FFF4                subq.w     [A6 - 0xC], 1
  2152. 000016A6  B66E FFF4                cmp.w      D3, [A6 - 0xC]
  2153. 000016AA  6D00 FF54                blt        -0xAA /* 00001600 */
  2154. label000016AE:
  2155. 000016AE  4A6E FFF4                tst.w      [A6 - 0xC]
  2156. 000016B2  6618                     bne        +0x1A /* 000016CC */
  2157. 000016B4  26AE FFFC                move.l     [A3], [A6 - 0x4]
  2158. 000016B8  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2159. 000016BC  2049                     movea.l    A0, A1
  2160. 000016BE  1010                     move.b     D0, [A0]
  2161. 000016C0  A05D                     syscall    SwapMMUMode
  2162. 000016C2  1080                     move.b     [A0], D0
  2163. 000016C4  303C E08E                move.w     D0, 0xE08E
  2164. 000016C8  6000 0644                bra        +0x646 /* 00001D0E */
  2165. label000016CC:
  2166. 000016CC  3E04                     move.w     D7, D4
  2167. 000016CE  5347                     subq.w     D7, 1
  2168. 000016D0  4A47                     tst.w      D7
  2169. 000016D2  6D04                     blt        +0x6 /* 000016D8 */
  2170. label000016D4:
  2171. 000016D4  51CF FFFE                dbf        D7, -0x4 /* 000016D4 */
  2172. label000016D8:
  2173. 000016D8  0885 0000                bclr.b     D5, 0x0
  2174. 000016DC  1885                     move.b     [A4], D5
  2175. 000016DE  3E04                     move.w     D7, D4
  2176. 000016E0  5347                     subq.w     D7, 1
  2177. 000016E2  4A47                     tst.w      D7
  2178. 000016E4  6D04                     blt        +0x6 /* 000016EA */
  2179. label000016E6:
  2180. 000016E6  51CF FFFE                dbf        D7, -0x4 /* 000016E6 */
  2181. label000016EA:
  2182. 000016EA  303C 00FE                move.w     D0, 0xFE
  2183. 000016EE  C06E 000A                and.w      D0, [A6 + 0xA]
  2184. 000016F2  3D40 FFF0                move.w     [A6 - 0x10], D0
  2185. 000016F6  3D7C 0007 FFF2           move.w     [A6 - 0xE], 0x7
  2186. 000016FC  7600                     moveq.l    D3, 0x00
  2187. label000016FE:
  2188. 000016FE  0245 FFFD                andi.w     D5, 0xFFFD
  2189. 00001702  3C3C 0BB8                move.w     D6, 0xBB8
  2190. label00001706:
  2191. 00001706  7000                     moveq.l    D0, 0x00
  2192. 00001708  1014                     move.b     D0, [A4]
  2193. 0000170A  4A80                     tst.l      D0
  2194. 0000170C  7202                     moveq.l    D1, 0x02
  2195. 0000170E  C200                     and.b      D1, D0
  2196. 00001710  7000                     moveq.l    D0, 0x00
  2197. 00001712  1001                     move.b     D0, D1
  2198. 00001714  4A80                     tst.l      D0
  2199. 00001716  7202                     moveq.l    D1, 0x02
  2200. 00001718  C245                     and.w      D1, D5
  2201. 0000171A  7400                     moveq.l    D2, 0x00
  2202. 0000171C  3401                     move.w     D2, D1
  2203. 0000171E  4A82                     tst.l      D2
  2204. 00001720  B480                     cmp.l      D2, D0
  2205. 00001722  670E                     beq        +0x10 /* 00001732 */
  2206. 00001724  1885                     move.b     [A4], D5
  2207. 00001726  6002                     bra        +0x4 /* 0000172A */
  2208. 00001728  6008                     bra        +0xA /* 00001732 */
  2209. label0000172A:
  2210. 0000172A  3006                     move.w     D0, D6
  2211. 0000172C  5346                     subq.w     D6, 1
  2212. 0000172E  B646                     cmp.w      D3, D6
  2213. 00001730  6DD4                     blt        -0x2A /* 00001706 */
  2214. label00001732:
  2215. 00001732  302E FFF2                move.w     D0, [A6 - 0xE]
  2216. 00001736  322E FFF0                move.w     D1, [A6 - 0x10]
  2217. 0000173A  E061                     asr        D1.w, D0
  2218. 0000173C  0801 0000                btst.b     D1, 0x0
  2219. 00001740  6706                     beq        +0x8 /* 00001748 */
  2220. 00001742  0045 0001                ori.w      D5, 0x1
  2221. 00001746  6004                     bra        +0x6 /* 0000174C */
  2222. label00001748:
  2223. 00001748  0885 0000                bclr.b     D5, 0x0
  2224. label0000174C:
  2225. 0000174C  1885                     move.b     [A4], D5
  2226. 0000174E  3E04                     move.w     D7, D4
  2227. 00001750  5347                     subq.w     D7, 1
  2228. 00001752  4A47                     tst.w      D7
  2229. 00001754  6D04                     blt        +0x6 /* 0000175A */
  2230. label00001756:
  2231. 00001756  51CF FFFE                dbf        D7, -0x4 /* 00001756 */
  2232. label0000175A:
  2233. 0000175A  0045 0002                ori.w      D5, 0x2
  2234. 0000175E  3C3C 0BB8                move.w     D6, 0xBB8
  2235. label00001762:
  2236. 00001762  7000                     moveq.l    D0, 0x00
  2237. 00001764  1014                     move.b     D0, [A4]
  2238. 00001766  4A80                     tst.l      D0
  2239. 00001768  7202                     moveq.l    D1, 0x02
  2240. 0000176A  C200                     and.b      D1, D0
  2241. 0000176C  7000                     moveq.l    D0, 0x00
  2242. 0000176E  1001                     move.b     D0, D1
  2243. 00001770  4A80                     tst.l      D0
  2244. 00001772  7202                     moveq.l    D1, 0x02
  2245. 00001774  C245                     and.w      D1, D5
  2246. 00001776  7400                     moveq.l    D2, 0x00
  2247. 00001778  3401                     move.w     D2, D1
  2248. 0000177A  4A82                     tst.l      D2
  2249. 0000177C  B480                     cmp.l      D2, D0
  2250. 0000177E  670E                     beq        +0x10 /* 0000178E */
  2251. 00001780  1885                     move.b     [A4], D5
  2252. 00001782  6002                     bra        +0x4 /* 00001786 */
  2253. 00001784  6008                     bra        +0xA /* 0000178E */
  2254. label00001786:
  2255. 00001786  3006                     move.w     D0, D6
  2256. 00001788  5346                     subq.w     D6, 1
  2257. 0000178A  B646                     cmp.w      D3, D6
  2258. 0000178C  6DD4                     blt        -0x2A /* 00001762 */
  2259. label0000178E:
  2260. 0000178E  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2261. 00001792  5347                     subq.w     D7, 1
  2262. 00001794  4A47                     tst.w      D7
  2263. 00001796  6D04                     blt        +0x6 /* 0000179C */
  2264. label00001798:
  2265. 00001798  51CF FFFE                dbf        D7, -0x4 /* 00001798 */
  2266. label0000179C:
  2267. 0000179C  302E FFF2                move.w     D0, [A6 - 0xE]
  2268. 000017A0  536E FFF2                subq.w     [A6 - 0xE], 1
  2269. 000017A4  B66E FFF2                cmp.w      D3, [A6 - 0xE]
  2270. 000017A8  6F00 FF54                ble        -0xAA /* 000016FE */
  2271. 000017AC  0245 FFFD                andi.w     D5, 0xFFFD
  2272. 000017B0  3C3C 0BB8                move.w     D6, 0xBB8
  2273. 000017B4  7600                     moveq.l    D3, 0x00
  2274. label000017B6:
  2275. 000017B6  7000                     moveq.l    D0, 0x00
  2276. 000017B8  1014                     move.b     D0, [A4]
  2277. 000017BA  4A80                     tst.l      D0
  2278. 000017BC  7202                     moveq.l    D1, 0x02
  2279. 000017BE  C200                     and.b      D1, D0
  2280. 000017C0  7000                     moveq.l    D0, 0x00
  2281. 000017C2  1001                     move.b     D0, D1
  2282. 000017C4  4A80                     tst.l      D0
  2283. 000017C6  7202                     moveq.l    D1, 0x02
  2284. 000017C8  C245                     and.w      D1, D5
  2285. 000017CA  7400                     moveq.l    D2, 0x00
  2286. 000017CC  3401                     move.w     D2, D1
  2287. 000017CE  4A82                     tst.l      D2
  2288. 000017D0  B480                     cmp.l      D2, D0
  2289. 000017D2  670E                     beq        +0x10 /* 000017E2 */
  2290. 000017D4  1885                     move.b     [A4], D5
  2291. 000017D6  6002                     bra        +0x4 /* 000017DA */
  2292. 000017D8  6008                     bra        +0xA /* 000017E2 */
  2293. label000017DA:
  2294. 000017DA  3006                     move.w     D0, D6
  2295. 000017DC  5346                     subq.w     D6, 1
  2296. 000017DE  B646                     cmp.w      D3, D6
  2297. 000017E0  6DD4                     blt        -0x2A /* 000017B6 */
  2298. label000017E2:
  2299. 000017E2  0045 0001                ori.w      D5, 0x1
  2300. 000017E6  1885                     move.b     [A4], D5
  2301. 000017E8  3D7C 0BB8 FFEE           move.w     [A6 - 0x12], 0xBB8
  2302. 000017EE  7600                     moveq.l    D3, 0x00
  2303. label000017F0:
  2304. 000017F0  3E04                     move.w     D7, D4
  2305. 000017F2  5347                     subq.w     D7, 1
  2306. 000017F4  4A47                     tst.w      D7
  2307. 000017F6  6D04                     blt        +0x6 /* 000017FC */
  2308. label000017F8:
  2309. 000017F8  51CF FFFE                dbf        D7, -0x4 /* 000017F8 */
  2310. label000017FC:
  2311. 000017FC  7000                     moveq.l    D0, 0x00
  2312. 000017FE  1014                     move.b     D0, [A4]
  2313. 00001800  4A80                     tst.l      D0
  2314. 00001802  7201                     moveq.l    D1, 0x01
  2315. 00001804  C200                     and.b      D1, D0
  2316. 00001806  7000                     moveq.l    D0, 0x00
  2317. 00001808  1001                     move.b     D0, D1
  2318. 0000180A  4A80                     tst.l      D0
  2319. 0000180C  670E                     beq        +0x10 /* 0000181C */
  2320. 0000180E  302E FFEE                move.w     D0, [A6 - 0x12]
  2321. 00001812  536E FFEE                subq.w     [A6 - 0x12], 1
  2322. 00001816  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  2323. 0000181A  6DD4                     blt        -0x2A /* 000017F0 */
  2324. label0000181C:
  2325. 0000181C  4A6E FFEE                tst.w      [A6 - 0x12]
  2326. 00001820  664E                     bne        +0x50 /* 00001870 */
  2327. 00001822  0045 0002                ori.w      D5, 0x2
  2328. 00001826  3C3C 0BB8                move.w     D6, 0xBB8
  2329. 0000182A  7600                     moveq.l    D3, 0x00
  2330. label0000182C:
  2331. 0000182C  7000                     moveq.l    D0, 0x00
  2332. 0000182E  1014                     move.b     D0, [A4]
  2333. 00001830  4A80                     tst.l      D0
  2334. 00001832  7202                     moveq.l    D1, 0x02
  2335. 00001834  C200                     and.b      D1, D0
  2336. 00001836  7000                     moveq.l    D0, 0x00
  2337. 00001838  1001                     move.b     D0, D1
  2338. 0000183A  4A80                     tst.l      D0
  2339. 0000183C  7202                     moveq.l    D1, 0x02
  2340. 0000183E  C245                     and.w      D1, D5
  2341. 00001840  7400                     moveq.l    D2, 0x00
  2342. 00001842  3401                     move.w     D2, D1
  2343. 00001844  4A82                     tst.l      D2
  2344. 00001846  B480                     cmp.l      D2, D0
  2345. 00001848  670E                     beq        +0x10 /* 00001858 */
  2346. 0000184A  1885                     move.b     [A4], D5
  2347. 0000184C  6002                     bra        +0x4 /* 00001850 */
  2348. 0000184E  6008                     bra        +0xA /* 00001858 */
  2349. label00001850:
  2350. 00001850  3006                     move.w     D0, D6
  2351. 00001852  5346                     subq.w     D6, 1
  2352. 00001854  B646                     cmp.w      D3, D6
  2353. 00001856  6DD4                     blt        -0x2A /* 0000182C */
  2354. label00001858:
  2355. 00001858  26AE FFFC                move.l     [A3], [A6 - 0x4]
  2356. 0000185C  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2357. 00001860  2049                     movea.l    A0, A1
  2358. 00001862  1010                     move.b     D0, [A0]
  2359. 00001864  A05D                     syscall    SwapMMUMode
  2360. 00001866  1080                     move.b     [A0], D0
  2361. 00001868  303C E08E                move.w     D0, 0xE08E
  2362. 0000186C  6000 04A0                bra        +0x4A2 /* 00001D0E */
  2363. label00001870:
  2364. 00001870  0045 0002                ori.w      D5, 0x2
  2365. 00001874  3C3C 0BB8                move.w     D6, 0xBB8
  2366. 00001878  7600                     moveq.l    D3, 0x00
  2367. label0000187A:
  2368. 0000187A  7000                     moveq.l    D0, 0x00
  2369. 0000187C  1014                     move.b     D0, [A4]
  2370. 0000187E  4A80                     tst.l      D0
  2371. 00001880  7202                     moveq.l    D1, 0x02
  2372. 00001882  C200                     and.b      D1, D0
  2373. 00001884  7000                     moveq.l    D0, 0x00
  2374. 00001886  1001                     move.b     D0, D1
  2375. 00001888  4A80                     tst.l      D0
  2376. 0000188A  7202                     moveq.l    D1, 0x02
  2377. 0000188C  C245                     and.w      D1, D5
  2378. 0000188E  7400                     moveq.l    D2, 0x00
  2379. 00001890  3401                     move.w     D2, D1
  2380. 00001892  4A82                     tst.l      D2
  2381. 00001894  B480                     cmp.l      D2, D0
  2382. 00001896  670E                     beq        +0x10 /* 000018A6 */
  2383. 00001898  1885                     move.b     [A4], D5
  2384. 0000189A  6002                     bra        +0x4 /* 0000189E */
  2385. 0000189C  6008                     bra        +0xA /* 000018A6 */
  2386. label0000189E:
  2387. 0000189E  3006                     move.w     D0, D6
  2388. 000018A0  5346                     subq.w     D6, 1
  2389. 000018A2  B646                     cmp.w      D3, D6
  2390. 000018A4  6DD4                     blt        -0x2A /* 0000187A */
  2391. label000018A6:
  2392. 000018A6  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2393. 000018AA  5347                     subq.w     D7, 1
  2394. 000018AC  4A47                     tst.w      D7
  2395. 000018AE  6D04                     blt        +0x6 /* 000018B4 */
  2396. label000018B0:
  2397. 000018B0  51CF FFFE                dbf        D7, -0x4 /* 000018B0 */
  2398. label000018B4:
  2399. 000018B4  3D6E 000E FFF0           move.w     [A6 - 0x10], [A6 + 0xE]
  2400. 000018BA  3D7C 0007 FFF2           move.w     [A6 - 0xE], 0x7
  2401. 000018C0  7600                     moveq.l    D3, 0x00
  2402. label000018C2:
  2403. 000018C2  0245 FFFD                andi.w     D5, 0xFFFD
  2404. 000018C6  3C3C 0BB8                move.w     D6, 0xBB8
  2405. label000018CA:
  2406. 000018CA  7000                     moveq.l    D0, 0x00
  2407. 000018CC  1014                     move.b     D0, [A4]
  2408. 000018CE  4A80                     tst.l      D0
  2409. 000018D0  7202                     moveq.l    D1, 0x02
  2410. 000018D2  C200                     and.b      D1, D0
  2411. 000018D4  7000                     moveq.l    D0, 0x00
  2412. 000018D6  1001                     move.b     D0, D1
  2413. 000018D8  4A80                     tst.l      D0
  2414. 000018DA  7202                     moveq.l    D1, 0x02
  2415. 000018DC  C245                     and.w      D1, D5
  2416. 000018DE  7400                     moveq.l    D2, 0x00
  2417. 000018E0  3401                     move.w     D2, D1
  2418. 000018E2  4A82                     tst.l      D2
  2419. 000018E4  B480                     cmp.l      D2, D0
  2420. 000018E6  670E                     beq        +0x10 /* 000018F6 */
  2421. 000018E8  1885                     move.b     [A4], D5
  2422. 000018EA  6002                     bra        +0x4 /* 000018EE */
  2423. 000018EC  6008                     bra        +0xA /* 000018F6 */
  2424. label000018EE:
  2425. 000018EE  3006                     move.w     D0, D6
  2426. 000018F0  5346                     subq.w     D6, 1
  2427. 000018F2  B646                     cmp.w      D3, D6
  2428. 000018F4  6DD4                     blt        -0x2A /* 000018CA */
  2429. label000018F6:
  2430. 000018F6  302E FFF2                move.w     D0, [A6 - 0xE]
  2431. 000018FA  322E FFF0                move.w     D1, [A6 - 0x10]
  2432. 000018FE  E061                     asr        D1.w, D0
  2433. 00001900  0801 0000                btst.b     D1, 0x0
  2434. 00001904  6706                     beq        +0x8 /* 0000190C */
  2435. 00001906  0045 0001                ori.w      D5, 0x1
  2436. 0000190A  6004                     bra        +0x6 /* 00001910 */
  2437. label0000190C:
  2438. 0000190C  0885 0000                bclr.b     D5, 0x0
  2439. label00001910:
  2440. 00001910  1885                     move.b     [A4], D5
  2441. 00001912  3E04                     move.w     D7, D4
  2442. 00001914  5347                     subq.w     D7, 1
  2443. 00001916  4A47                     tst.w      D7
  2444. 00001918  6D04                     blt        +0x6 /* 0000191E */
  2445. label0000191A:
  2446. 0000191A  51CF FFFE                dbf        D7, -0x4 /* 0000191A */
  2447. label0000191E:
  2448. 0000191E  0045 0002                ori.w      D5, 0x2
  2449. 00001922  3C3C 0BB8                move.w     D6, 0xBB8
  2450. label00001926:
  2451. 00001926  7000                     moveq.l    D0, 0x00
  2452. 00001928  1014                     move.b     D0, [A4]
  2453. 0000192A  4A80                     tst.l      D0
  2454. 0000192C  7202                     moveq.l    D1, 0x02
  2455. 0000192E  C200                     and.b      D1, D0
  2456. 00001930  7000                     moveq.l    D0, 0x00
  2457. 00001932  1001                     move.b     D0, D1
  2458. 00001934  4A80                     tst.l      D0
  2459. 00001936  7202                     moveq.l    D1, 0x02
  2460. 00001938  C245                     and.w      D1, D5
  2461. 0000193A  7400                     moveq.l    D2, 0x00
  2462. 0000193C  3401                     move.w     D2, D1
  2463. 0000193E  4A82                     tst.l      D2
  2464. 00001940  B480                     cmp.l      D2, D0
  2465. 00001942  670E                     beq        +0x10 /* 00001952 */
  2466. 00001944  1885                     move.b     [A4], D5
  2467. 00001946  6002                     bra        +0x4 /* 0000194A */
  2468. 00001948  6008                     bra        +0xA /* 00001952 */
  2469. label0000194A:
  2470. 0000194A  3006                     move.w     D0, D6
  2471. 0000194C  5346                     subq.w     D6, 1
  2472. 0000194E  B646                     cmp.w      D3, D6
  2473. 00001950  6DD4                     blt        -0x2A /* 00001926 */
  2474. label00001952:
  2475. 00001952  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2476. 00001956  5347                     subq.w     D7, 1
  2477. 00001958  4A47                     tst.w      D7
  2478. 0000195A  6D04                     blt        +0x6 /* 00001960 */
  2479. label0000195C:
  2480. 0000195C  51CF FFFE                dbf        D7, -0x4 /* 0000195C */
  2481. label00001960:
  2482. 00001960  302E FFF2                move.w     D0, [A6 - 0xE]
  2483. 00001964  536E FFF2                subq.w     [A6 - 0xE], 1
  2484. 00001968  B66E FFF2                cmp.w      D3, [A6 - 0xE]
  2485. 0000196C  6F00 FF54                ble        -0xAA /* 000018C2 */
  2486. 00001970  0245 FFFD                andi.w     D5, 0xFFFD
  2487. 00001974  3C3C 0BB8                move.w     D6, 0xBB8
  2488. 00001978  7600                     moveq.l    D3, 0x00
  2489. label0000197A:
  2490. 0000197A  7000                     moveq.l    D0, 0x00
  2491. 0000197C  1014                     move.b     D0, [A4]
  2492. 0000197E  4A80                     tst.l      D0
  2493. 00001980  7202                     moveq.l    D1, 0x02
  2494. 00001982  C200                     and.b      D1, D0
  2495. 00001984  7000                     moveq.l    D0, 0x00
  2496. 00001986  1001                     move.b     D0, D1
  2497. 00001988  4A80                     tst.l      D0
  2498. 0000198A  7202                     moveq.l    D1, 0x02
  2499. 0000198C  C245                     and.w      D1, D5
  2500. 0000198E  7400                     moveq.l    D2, 0x00
  2501. 00001990  3401                     move.w     D2, D1
  2502. 00001992  4A82                     tst.l      D2
  2503. 00001994  B480                     cmp.l      D2, D0
  2504. 00001996  670E                     beq        +0x10 /* 000019A6 */
  2505. 00001998  1885                     move.b     [A4], D5
  2506. 0000199A  6002                     bra        +0x4 /* 0000199E */
  2507. 0000199C  6008                     bra        +0xA /* 000019A6 */
  2508. label0000199E:
  2509. 0000199E  3006                     move.w     D0, D6
  2510. 000019A0  5346                     subq.w     D6, 1
  2511. 000019A2  B646                     cmp.w      D3, D6
  2512. 000019A4  6DD4                     blt        -0x2A /* 0000197A */
  2513. label000019A6:
  2514. 000019A6  0045 0001                ori.w      D5, 0x1
  2515. 000019AA  1885                     move.b     [A4], D5
  2516. 000019AC  3D7C 0BB8 FFEE           move.w     [A6 - 0x12], 0xBB8
  2517. 000019B2  7600                     moveq.l    D3, 0x00
  2518. label000019B4:
  2519. 000019B4  3E04                     move.w     D7, D4
  2520. 000019B6  5347                     subq.w     D7, 1
  2521. 000019B8  4A47                     tst.w      D7
  2522. 000019BA  6D04                     blt        +0x6 /* 000019C0 */
  2523. label000019BC:
  2524. 000019BC  51CF FFFE                dbf        D7, -0x4 /* 000019BC */
  2525. label000019C0:
  2526. 000019C0  7000                     moveq.l    D0, 0x00
  2527. 000019C2  1014                     move.b     D0, [A4]
  2528. 000019C4  4A80                     tst.l      D0
  2529. 000019C6  7201                     moveq.l    D1, 0x01
  2530. 000019C8  C200                     and.b      D1, D0
  2531. 000019CA  7000                     moveq.l    D0, 0x00
  2532. 000019CC  1001                     move.b     D0, D1
  2533. 000019CE  4A80                     tst.l      D0
  2534. 000019D0  670E                     beq        +0x10 /* 000019E0 */
  2535. 000019D2  302E FFEE                move.w     D0, [A6 - 0x12]
  2536. 000019D6  536E FFEE                subq.w     [A6 - 0x12], 1
  2537. 000019DA  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  2538. 000019DE  6DD4                     blt        -0x2A /* 000019B4 */
  2539. label000019E0:
  2540. 000019E0  4A6E FFEE                tst.w      [A6 - 0x12]
  2541. 000019E4  664E                     bne        +0x50 /* 00001A34 */
  2542. 000019E6  0045 0002                ori.w      D5, 0x2
  2543. 000019EA  3C3C 0BB8                move.w     D6, 0xBB8
  2544. 000019EE  7600                     moveq.l    D3, 0x00
  2545. label000019F0:
  2546. 000019F0  7000                     moveq.l    D0, 0x00
  2547. 000019F2  1014                     move.b     D0, [A4]
  2548. 000019F4  4A80                     tst.l      D0
  2549. 000019F6  7202                     moveq.l    D1, 0x02
  2550. 000019F8  C200                     and.b      D1, D0
  2551. 000019FA  7000                     moveq.l    D0, 0x00
  2552. 000019FC  1001                     move.b     D0, D1
  2553. 000019FE  4A80                     tst.l      D0
  2554. 00001A00  7202                     moveq.l    D1, 0x02
  2555. 00001A02  C245                     and.w      D1, D5
  2556. 00001A04  7400                     moveq.l    D2, 0x00
  2557. 00001A06  3401                     move.w     D2, D1
  2558. 00001A08  4A82                     tst.l      D2
  2559. 00001A0A  B480                     cmp.l      D2, D0
  2560. 00001A0C  670E                     beq        +0x10 /* 00001A1C */
  2561. 00001A0E  1885                     move.b     [A4], D5
  2562. 00001A10  6002                     bra        +0x4 /* 00001A14 */
  2563. 00001A12  6008                     bra        +0xA /* 00001A1C */
  2564. label00001A14:
  2565. 00001A14  3006                     move.w     D0, D6
  2566. 00001A16  5346                     subq.w     D6, 1
  2567. 00001A18  B646                     cmp.w      D3, D6
  2568. 00001A1A  6DD4                     blt        -0x2A /* 000019F0 */
  2569. label00001A1C:
  2570. 00001A1C  26AE FFFC                move.l     [A3], [A6 - 0x4]
  2571. 00001A20  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2572. 00001A24  2049                     movea.l    A0, A1
  2573. 00001A26  1010                     move.b     D0, [A0]
  2574. 00001A28  A05D                     syscall    SwapMMUMode
  2575. 00001A2A  1080                     move.b     [A0], D0
  2576. 00001A2C  303C E08E                move.w     D0, 0xE08E
  2577. 00001A30  6000 02DC                bra        +0x2DE /* 00001D0E */
  2578. label00001A34:
  2579. 00001A34  0045 0002                ori.w      D5, 0x2
  2580. 00001A38  3C3C 0BB8                move.w     D6, 0xBB8
  2581. 00001A3C  7600                     moveq.l    D3, 0x00
  2582. label00001A3E:
  2583. 00001A3E  7000                     moveq.l    D0, 0x00
  2584. 00001A40  1014                     move.b     D0, [A4]
  2585. 00001A42  4A80                     tst.l      D0
  2586. 00001A44  7202                     moveq.l    D1, 0x02
  2587. 00001A46  C200                     and.b      D1, D0
  2588. 00001A48  7000                     moveq.l    D0, 0x00
  2589. 00001A4A  1001                     move.b     D0, D1
  2590. 00001A4C  4A80                     tst.l      D0
  2591. 00001A4E  7202                     moveq.l    D1, 0x02
  2592. 00001A50  C245                     and.w      D1, D5
  2593. 00001A52  7400                     moveq.l    D2, 0x00
  2594. 00001A54  3401                     move.w     D2, D1
  2595. 00001A56  4A82                     tst.l      D2
  2596. 00001A58  B480                     cmp.l      D2, D0
  2597. 00001A5A  670E                     beq        +0x10 /* 00001A6A */
  2598. 00001A5C  1885                     move.b     [A4], D5
  2599. 00001A5E  6002                     bra        +0x4 /* 00001A62 */
  2600. 00001A60  6008                     bra        +0xA /* 00001A6A */
  2601. label00001A62:
  2602. 00001A62  3006                     move.w     D0, D6
  2603. 00001A64  5346                     subq.w     D6, 1
  2604. 00001A66  B646                     cmp.w      D3, D6
  2605. 00001A68  6DD4                     blt        -0x2A /* 00001A3E */
  2606. label00001A6A:
  2607. 00001A6A  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2608. 00001A6E  5347                     subq.w     D7, 1
  2609. 00001A70  4A47                     tst.w      D7
  2610. 00001A72  6D04                     blt        +0x6 /* 00001A78 */
  2611. label00001A74:
  2612. 00001A74  51CF FFFE                dbf        D7, -0x4 /* 00001A74 */
  2613. label00001A78:
  2614. 00001A78  3D6E 0012 FFF0           move.w     [A6 - 0x10], [A6 + 0x12]
  2615. 00001A7E  3D7C 0007 FFF2           move.w     [A6 - 0xE], 0x7
  2616. 00001A84  7600                     moveq.l    D3, 0x00
  2617. label00001A86:
  2618. 00001A86  0245 FFFD                andi.w     D5, 0xFFFD
  2619. 00001A8A  3C3C 0BB8                move.w     D6, 0xBB8
  2620. label00001A8E:
  2621. 00001A8E  7000                     moveq.l    D0, 0x00
  2622. 00001A90  1014                     move.b     D0, [A4]
  2623. 00001A92  4A80                     tst.l      D0
  2624. 00001A94  7202                     moveq.l    D1, 0x02
  2625. 00001A96  C200                     and.b      D1, D0
  2626. 00001A98  7000                     moveq.l    D0, 0x00
  2627. 00001A9A  1001                     move.b     D0, D1
  2628. 00001A9C  4A80                     tst.l      D0
  2629. 00001A9E  7202                     moveq.l    D1, 0x02
  2630. 00001AA0  C245                     and.w      D1, D5
  2631. 00001AA2  7400                     moveq.l    D2, 0x00
  2632. 00001AA4  3401                     move.w     D2, D1
  2633. 00001AA6  4A82                     tst.l      D2
  2634. 00001AA8  B480                     cmp.l      D2, D0
  2635. 00001AAA  670E                     beq        +0x10 /* 00001ABA */
  2636. 00001AAC  1885                     move.b     [A4], D5
  2637. 00001AAE  6002                     bra        +0x4 /* 00001AB2 */
  2638. 00001AB0  6008                     bra        +0xA /* 00001ABA */
  2639. label00001AB2:
  2640. 00001AB2  3006                     move.w     D0, D6
  2641. 00001AB4  5346                     subq.w     D6, 1
  2642. 00001AB6  B646                     cmp.w      D3, D6
  2643. 00001AB8  6DD4                     blt        -0x2A /* 00001A8E */
  2644. label00001ABA:
  2645. 00001ABA  302E FFF2                move.w     D0, [A6 - 0xE]
  2646. 00001ABE  322E FFF0                move.w     D1, [A6 - 0x10]
  2647. 00001AC2  E061                     asr        D1.w, D0
  2648. 00001AC4  0801 0000                btst.b     D1, 0x0
  2649. 00001AC8  6706                     beq        +0x8 /* 00001AD0 */
  2650. 00001ACA  0045 0001                ori.w      D5, 0x1
  2651. 00001ACE  6004                     bra        +0x6 /* 00001AD4 */
  2652. label00001AD0:
  2653. 00001AD0  0885 0000                bclr.b     D5, 0x0
  2654. label00001AD4:
  2655. 00001AD4  1885                     move.b     [A4], D5
  2656. 00001AD6  3E04                     move.w     D7, D4
  2657. 00001AD8  5347                     subq.w     D7, 1
  2658. 00001ADA  4A47                     tst.w      D7
  2659. 00001ADC  6D04                     blt        +0x6 /* 00001AE2 */
  2660. label00001ADE:
  2661. 00001ADE  51CF FFFE                dbf        D7, -0x4 /* 00001ADE */
  2662. label00001AE2:
  2663. 00001AE2  0045 0002                ori.w      D5, 0x2
  2664. 00001AE6  3C3C 0BB8                move.w     D6, 0xBB8
  2665. label00001AEA:
  2666. 00001AEA  7000                     moveq.l    D0, 0x00
  2667. 00001AEC  1014                     move.b     D0, [A4]
  2668. 00001AEE  4A80                     tst.l      D0
  2669. 00001AF0  7202                     moveq.l    D1, 0x02
  2670. 00001AF2  C200                     and.b      D1, D0
  2671. 00001AF4  7000                     moveq.l    D0, 0x00
  2672. 00001AF6  1001                     move.b     D0, D1
  2673. 00001AF8  4A80                     tst.l      D0
  2674. 00001AFA  7202                     moveq.l    D1, 0x02
  2675. 00001AFC  C245                     and.w      D1, D5
  2676. 00001AFE  7400                     moveq.l    D2, 0x00
  2677. 00001B00  3401                     move.w     D2, D1
  2678. 00001B02  4A82                     tst.l      D2
  2679. 00001B04  B480                     cmp.l      D2, D0
  2680. 00001B06  670E                     beq        +0x10 /* 00001B16 */
  2681. 00001B08  1885                     move.b     [A4], D5
  2682. 00001B0A  6002                     bra        +0x4 /* 00001B0E */
  2683. 00001B0C  6008                     bra        +0xA /* 00001B16 */
  2684. label00001B0E:
  2685. 00001B0E  3006                     move.w     D0, D6
  2686. 00001B10  5346                     subq.w     D6, 1
  2687. 00001B12  B646                     cmp.w      D3, D6
  2688. 00001B14  6DD4                     blt        -0x2A /* 00001AEA */
  2689. label00001B16:
  2690. 00001B16  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2691. 00001B1A  5347                     subq.w     D7, 1
  2692. 00001B1C  4A47                     tst.w      D7
  2693. 00001B1E  6D04                     blt        +0x6 /* 00001B24 */
  2694. label00001B20:
  2695. 00001B20  51CF FFFE                dbf        D7, -0x4 /* 00001B20 */
  2696. label00001B24:
  2697. 00001B24  302E FFF2                move.w     D0, [A6 - 0xE]
  2698. 00001B28  536E FFF2                subq.w     [A6 - 0xE], 1
  2699. 00001B2C  B66E FFF2                cmp.w      D3, [A6 - 0xE]
  2700. 00001B30  6F00 FF54                ble        -0xAA /* 00001A86 */
  2701. 00001B34  0245 FFFD                andi.w     D5, 0xFFFD
  2702. 00001B38  3C3C 0BB8                move.w     D6, 0xBB8
  2703. 00001B3C  7600                     moveq.l    D3, 0x00
  2704. label00001B3E:
  2705. 00001B3E  7000                     moveq.l    D0, 0x00
  2706. 00001B40  1014                     move.b     D0, [A4]
  2707. 00001B42  4A80                     tst.l      D0
  2708. 00001B44  7202                     moveq.l    D1, 0x02
  2709. 00001B46  C200                     and.b      D1, D0
  2710. 00001B48  7000                     moveq.l    D0, 0x00
  2711. 00001B4A  1001                     move.b     D0, D1
  2712. 00001B4C  4A80                     tst.l      D0
  2713. 00001B4E  7202                     moveq.l    D1, 0x02
  2714. 00001B50  C245                     and.w      D1, D5
  2715. 00001B52  7400                     moveq.l    D2, 0x00
  2716. 00001B54  3401                     move.w     D2, D1
  2717. 00001B56  4A82                     tst.l      D2
  2718. 00001B58  B480                     cmp.l      D2, D0
  2719. 00001B5A  670E                     beq        +0x10 /* 00001B6A */
  2720. 00001B5C  1885                     move.b     [A4], D5
  2721. 00001B5E  6002                     bra        +0x4 /* 00001B62 */
  2722. 00001B60  6008                     bra        +0xA /* 00001B6A */
  2723. label00001B62:
  2724. 00001B62  3006                     move.w     D0, D6
  2725. 00001B64  5346                     subq.w     D6, 1
  2726. 00001B66  B646                     cmp.w      D3, D6
  2727. 00001B68  6DD4                     blt        -0x2A /* 00001B3E */
  2728. label00001B6A:
  2729. 00001B6A  0045 0001                ori.w      D5, 0x1
  2730. 00001B6E  1885                     move.b     [A4], D5
  2731. 00001B70  3D7C 0BB8 FFEE           move.w     [A6 - 0x12], 0xBB8
  2732. 00001B76  7600                     moveq.l    D3, 0x00
  2733. label00001B78:
  2734. 00001B78  3E04                     move.w     D7, D4
  2735. 00001B7A  5347                     subq.w     D7, 1
  2736. 00001B7C  4A47                     tst.w      D7
  2737. 00001B7E  6D04                     blt        +0x6 /* 00001B84 */
  2738. label00001B80:
  2739. 00001B80  51CF FFFE                dbf        D7, -0x4 /* 00001B80 */
  2740. label00001B84:
  2741. 00001B84  7000                     moveq.l    D0, 0x00
  2742. 00001B86  1014                     move.b     D0, [A4]
  2743. 00001B88  4A80                     tst.l      D0
  2744. 00001B8A  7201                     moveq.l    D1, 0x01
  2745. 00001B8C  C200                     and.b      D1, D0
  2746. 00001B8E  7000                     moveq.l    D0, 0x00
  2747. 00001B90  1001                     move.b     D0, D1
  2748. 00001B92  4A80                     tst.l      D0
  2749. 00001B94  670E                     beq        +0x10 /* 00001BA4 */
  2750. 00001B96  302E FFEE                move.w     D0, [A6 - 0x12]
  2751. 00001B9A  536E FFEE                subq.w     [A6 - 0x12], 1
  2752. 00001B9E  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  2753. 00001BA2  6DD4                     blt        -0x2A /* 00001B78 */
  2754. label00001BA4:
  2755. 00001BA4  0045 0002                ori.w      D5, 0x2
  2756. 00001BA8  3C3C 0BB8                move.w     D6, 0xBB8
  2757. 00001BAC  7600                     moveq.l    D3, 0x00
  2758. label00001BAE:
  2759. 00001BAE  7000                     moveq.l    D0, 0x00
  2760. 00001BB0  1014                     move.b     D0, [A4]
  2761. 00001BB2  4A80                     tst.l      D0
  2762. 00001BB4  7202                     moveq.l    D1, 0x02
  2763. 00001BB6  C200                     and.b      D1, D0
  2764. 00001BB8  7000                     moveq.l    D0, 0x00
  2765. 00001BBA  1001                     move.b     D0, D1
  2766. 00001BBC  4A80                     tst.l      D0
  2767. 00001BBE  7202                     moveq.l    D1, 0x02
  2768. 00001BC0  C245                     and.w      D1, D5
  2769. 00001BC2  7400                     moveq.l    D2, 0x00
  2770. 00001BC4  3401                     move.w     D2, D1
  2771. 00001BC6  4A82                     tst.l      D2
  2772. 00001BC8  B480                     cmp.l      D2, D0
  2773. 00001BCA  670E                     beq        +0x10 /* 00001BDA */
  2774. 00001BCC  1885                     move.b     [A4], D5
  2775. 00001BCE  6002                     bra        +0x4 /* 00001BD2 */
  2776. 00001BD0  6008                     bra        +0xA /* 00001BDA */
  2777. label00001BD2:
  2778. 00001BD2  3006                     move.w     D0, D6
  2779. 00001BD4  5346                     subq.w     D6, 1
  2780. 00001BD6  B646                     cmp.w      D3, D6
  2781. 00001BD8  6DD4                     blt        -0x2A /* 00001BAE */
  2782. label00001BDA:
  2783. 00001BDA  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2784. 00001BDE  5347                     subq.w     D7, 1
  2785. 00001BE0  4A47                     tst.w      D7
  2786. 00001BE2  6D04                     blt        +0x6 /* 00001BE8 */
  2787. label00001BE4:
  2788. 00001BE4  51CF FFFE                dbf        D7, -0x4 /* 00001BE4 */
  2789. label00001BE8:
  2790. 00001BE8  4A6E FFEE                tst.w      [A6 - 0x12]
  2791. 00001BEC  664E                     bne        +0x50 /* 00001C3C */
  2792. 00001BEE  0045 0002                ori.w      D5, 0x2
  2793. 00001BF2  3C3C 0BB8                move.w     D6, 0xBB8
  2794. 00001BF6  7600                     moveq.l    D3, 0x00
  2795. label00001BF8:
  2796. 00001BF8  7000                     moveq.l    D0, 0x00
  2797. 00001BFA  1014                     move.b     D0, [A4]
  2798. 00001BFC  4A80                     tst.l      D0
  2799. 00001BFE  7202                     moveq.l    D1, 0x02
  2800. 00001C00  C200                     and.b      D1, D0
  2801. 00001C02  7000                     moveq.l    D0, 0x00
  2802. 00001C04  1001                     move.b     D0, D1
  2803. 00001C06  4A80                     tst.l      D0
  2804. 00001C08  7202                     moveq.l    D1, 0x02
  2805. 00001C0A  C245                     and.w      D1, D5
  2806. 00001C0C  7400                     moveq.l    D2, 0x00
  2807. 00001C0E  3401                     move.w     D2, D1
  2808. 00001C10  4A82                     tst.l      D2
  2809. 00001C12  B480                     cmp.l      D2, D0
  2810. 00001C14  670E                     beq        +0x10 /* 00001C24 */
  2811. 00001C16  1885                     move.b     [A4], D5
  2812. 00001C18  6002                     bra        +0x4 /* 00001C1C */
  2813. 00001C1A  6008                     bra        +0xA /* 00001C24 */
  2814. label00001C1C:
  2815. 00001C1C  3006                     move.w     D0, D6
  2816. 00001C1E  5346                     subq.w     D6, 1
  2817. 00001C20  B646                     cmp.w      D3, D6
  2818. 00001C22  6DD4                     blt        -0x2A /* 00001BF8 */
  2819. label00001C24:
  2820. 00001C24  26AE FFFC                move.l     [A3], [A6 - 0x4]
  2821. 00001C28  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2822. 00001C2C  2049                     movea.l    A0, A1
  2823. 00001C2E  1010                     move.b     D0, [A0]
  2824. 00001C30  A05D                     syscall    SwapMMUMode
  2825. 00001C32  1080                     move.b     [A0], D0
  2826. 00001C34  303C E08E                move.w     D0, 0xE08E
  2827. 00001C38  6000 00D4                bra        +0xD6 /* 00001D0E */
  2828. label00001C3C:
  2829. 00001C3C  0245 FFFD                andi.w     D5, 0xFFFD
  2830. 00001C40  3C3C 0BB8                move.w     D6, 0xBB8
  2831. 00001C44  7600                     moveq.l    D3, 0x00
  2832. label00001C46:
  2833. 00001C46  7000                     moveq.l    D0, 0x00
  2834. 00001C48  1014                     move.b     D0, [A4]
  2835. 00001C4A  4A80                     tst.l      D0
  2836. 00001C4C  7202                     moveq.l    D1, 0x02
  2837. 00001C4E  C200                     and.b      D1, D0
  2838. 00001C50  7000                     moveq.l    D0, 0x00
  2839. 00001C52  1001                     move.b     D0, D1
  2840. 00001C54  4A80                     tst.l      D0
  2841. 00001C56  7202                     moveq.l    D1, 0x02
  2842. 00001C58  C245                     and.w      D1, D5
  2843. 00001C5A  7400                     moveq.l    D2, 0x00
  2844. 00001C5C  3401                     move.w     D2, D1
  2845. 00001C5E  4A82                     tst.l      D2
  2846. 00001C60  B480                     cmp.l      D2, D0
  2847. 00001C62  670E                     beq        +0x10 /* 00001C72 */
  2848. 00001C64  1885                     move.b     [A4], D5
  2849. 00001C66  6002                     bra        +0x4 /* 00001C6A */
  2850. 00001C68  6008                     bra        +0xA /* 00001C72 */
  2851. label00001C6A:
  2852. 00001C6A  3006                     move.w     D0, D6
  2853. 00001C6C  5346                     subq.w     D6, 1
  2854. 00001C6E  B646                     cmp.w      D3, D6
  2855. 00001C70  6DD4                     blt        -0x2A /* 00001C46 */
  2856. label00001C72:
  2857. 00001C72  0885 0000                bclr.b     D5, 0x0
  2858. 00001C76  1885                     move.b     [A4], D5
  2859. 00001C78  3E04                     move.w     D7, D4
  2860. 00001C7A  5347                     subq.w     D7, 1
  2861. 00001C7C  4A47                     tst.w      D7
  2862. 00001C7E  6D04                     blt        +0x6 /* 00001C84 */
  2863. label00001C80:
  2864. 00001C80  51CF FFFE                dbf        D7, -0x4 /* 00001C80 */
  2865. label00001C84:
  2866. 00001C84  0045 0002                ori.w      D5, 0x2
  2867. 00001C88  3C3C 0BB8                move.w     D6, 0xBB8
  2868. 00001C8C  7600                     moveq.l    D3, 0x00
  2869. label00001C8E:
  2870. 00001C8E  7000                     moveq.l    D0, 0x00
  2871. 00001C90  1014                     move.b     D0, [A4]
  2872. 00001C92  4A80                     tst.l      D0
  2873. 00001C94  7202                     moveq.l    D1, 0x02
  2874. 00001C96  C200                     and.b      D1, D0
  2875. 00001C98  7000                     moveq.l    D0, 0x00
  2876. 00001C9A  1001                     move.b     D0, D1
  2877. 00001C9C  4A80                     tst.l      D0
  2878. 00001C9E  7202                     moveq.l    D1, 0x02
  2879. 00001CA0  C245                     and.w      D1, D5
  2880. 00001CA2  7400                     moveq.l    D2, 0x00
  2881. 00001CA4  3401                     move.w     D2, D1
  2882. 00001CA6  4A82                     tst.l      D2
  2883. 00001CA8  B480                     cmp.l      D2, D0
  2884. 00001CAA  670E                     beq        +0x10 /* 00001CBA */
  2885. 00001CAC  1885                     move.b     [A4], D5
  2886. 00001CAE  6002                     bra        +0x4 /* 00001CB2 */
  2887. 00001CB0  6008                     bra        +0xA /* 00001CBA */
  2888. label00001CB2:
  2889. 00001CB2  3006                     move.w     D0, D6
  2890. 00001CB4  5346                     subq.w     D6, 1
  2891. 00001CB6  B646                     cmp.w      D3, D6
  2892. 00001CB8  6DD4                     blt        -0x2A /* 00001C8E */
  2893. label00001CBA:
  2894. 00001CBA  3E04                     move.w     D7, D4
  2895. 00001CBC  5347                     subq.w     D7, 1
  2896. 00001CBE  4A47                     tst.w      D7
  2897. 00001CC0  6D04                     blt        +0x6 /* 00001CC6 */
  2898. label00001CC2:
  2899. 00001CC2  51CF FFFE                dbf        D7, -0x4 /* 00001CC2 */
  2900. label00001CC6:
  2901. 00001CC6  0045 0001                ori.w      D5, 0x1
  2902. 00001CCA  1885                     move.b     [A4], D5
  2903. 00001CCC  26AE FFFC                move.l     [A3], [A6 - 0x4]
  2904. 00001CD0  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2905. 00001CD4  2049                     movea.l    A0, A1
  2906. 00001CD6  1010                     move.b     D0, [A0]
  2907. 00001CD8  A05D                     syscall    SwapMMUMode
  2908. 00001CDA  1080                     move.b     [A0], D0
  2909. 00001CDC  302E 000A                move.w     D0, [A6 + 0xA]
  2910. 00001CE0  0440 008A                subi.w     D0, 0x8A
  2911. 00001CE4  6708                     beq        +0xA /* 00001CEE */
  2912. 00001CE6  0440 0056                subi.w     D0, 0x56 /* 'V' */
  2913. 00001CEA  6712                     beq        +0x14 /* 00001CFE */
  2914. 00001CEC  601E                     bra        +0x20 /* 00001D0C */
  2915. label00001CEE:
  2916. 00001CEE  206E 0014                movea.l    A0, [A6 + 0x14]
  2917. 00001CF2  302E 000E                move.w     D0, [A6 + 0xE]
  2918. 00001CF6  11AE 0013 002C           move.b     [A0 + D0.w + 0x2C], [A6 + 0x13]
  2919. 00001CFC  600E                     bra        +0x10 /* 00001D0C */
  2920. label00001CFE:
  2921. 00001CFE  206E 0014                movea.l    A0, [A6 + 0x14]
  2922. 00001D02  302E 000E                move.w     D0, [A6 + 0xE]
  2923. 00001D06  11AE 0013 0045           move.b     [A0 + D0.w + 0x45], [A6 + 0x13]
  2924. label00001D0C:
  2925. 00001D0C  7000                     moveq.l    D0, 0x00
  2926. label00001D0E:
  2927. 00001D0E  4CEE 18F8 FFD0           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x30]
  2928. 00001D14  4E5E                     unlink     A6
  2929. 00001D16  4E75                     rts
  2930. fn00001D18:
  2931. 00001D18  4E56 FFE4                link       A6, -0x001C
  2932. 00001D1C  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  2933. 00001D20  206E 0014                movea.l    A0, [A6 + 0x14]
  2934. 00001D24  2D50 FFEE                move.l     [A6 - 0x12], [A0]
  2935. 00001D28  202E FFEE                move.l     D0, [A6 - 0x12]
  2936. 00001D2C  D0BC 00FE 6018           add.l      D0, 0xFE6018
  2937. 00001D32  2D40 FFF2                move.l     [A6 - 0xE], D0
  2938. 00001D36  286E FFEE                movea.l    A4, [A6 - 0x12]
  2939. 00001D3A  D9FC 00FE 701D           add.l      A4, 0xFE701D
  2940. 00001D40  598F                     subq.l     A7, 4
  2941. 00001D42  206E 0010                movea.l    A0, [A6 + 0x10]
  2942. 00001D46  2F08                     move.l     -[A7], A0
  2943. 00001D48  4EBA 41CA                jsr        [PC + 0x41CA /* 00005F14 */]
  2944. 00001D4C  265F                     movea.l    A3, [A7]+
  2945. 00001D4E  598F                     subq.l     A7, 4
  2946. 00001D50  206E 0014                movea.l    A0, [A6 + 0x14]
  2947. 00001D54  4868 0046                pea.l      [A0 + 0x46]
  2948. 00001D58  4EBA 41BA                jsr        [PC + 0x41BA /* 00005F14 */]
  2949. 00001D5C  2D5F FFF6                move.l     [A6 - 0xA], [A7]+
  2950. 00001D60  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  2951. 00001D66  43EE FFFF                lea.l      A1, [A6 - 0x1]
  2952. 00001D6A  2049                     movea.l    A0, A1
  2953. 00001D6C  1010                     move.b     D0, [A0]
  2954. 00001D6E  A05D                     syscall    SwapMMUMode
  2955. 00001D70  1080                     move.b     [A0], D0
  2956. 00001D72  206E FFF2                movea.l    A0, [A6 - 0xE]
  2957. 00001D76  2D50 FFFA                move.l     [A6 - 0x6], [A0]
  2958. 00001D7A  206E FFF2                movea.l    A0, [A6 - 0xE]
  2959. 00001D7E  7003                     moveq.l    D0, 0x03
  2960. 00001D80  2080                     move.l     [A0], D0
  2961. 00001D82  7A00                     moveq.l    D5, 0x00
  2962. 00001D84  1A14                     move.b     D5, [A4]
  2963. 00001D86  4A85                     tst.l      D5
  2964. 00001D88  722F                     moveq.l    D1, 0x2F
  2965. 00001D8A  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  2966. 00001D8E  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  2967. 00001D96  3801                     move.w     D4, D1
  2968. 00001D98  7228                     moveq.l    D1, 0x28
  2969. 00001D9A  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  2970. 00001D9E  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  2971. 00001DA6  3D41 FFE4                move.w     [A6 - 0x1C], D1
  2972. 00001DAA  3D7C 0BB8 FFEC           move.w     [A6 - 0x14], 0xBB8
  2973. 00001DB0  7600                     moveq.l    D3, 0x00
  2974. label00001DB2:
  2975. 00001DB2  7000                     moveq.l    D0, 0x00
  2976. 00001DB4  1014                     move.b     D0, [A4]
  2977. 00001DB6  4A80                     tst.l      D0
  2978. 00001DB8  7202                     moveq.l    D1, 0x02
  2979. 00001DBA  C200                     and.b      D1, D0
  2980. 00001DBC  7000                     moveq.l    D0, 0x00
  2981. 00001DBE  1001                     move.b     D0, D1
  2982. 00001DC0  4A80                     tst.l      D0
  2983. 00001DC2  0C40 0002                cmpi.w     D0, 0x2
  2984. 00001DC6  6618                     bne        +0x1A /* 00001DE0 */
  2985. 00001DC8  7000                     moveq.l    D0, 0x00
  2986. 00001DCA  1014                     move.b     D0, [A4]
  2987. 00001DCC  4A80                     tst.l      D0
  2988. 00001DCE  7201                     moveq.l    D1, 0x01
  2989. 00001DD0  C200                     and.b      D1, D0
  2990. 00001DD2  7000                     moveq.l    D0, 0x00
  2991. 00001DD4  1001                     move.b     D0, D1
  2992. 00001DD6  4A80                     tst.l      D0
  2993. 00001DD8  0C40 0001                cmpi.w     D0, 0x1
  2994. 00001DDC  6700 0096                beq        +0x98 /* 00001E74 */
  2995. label00001DE0:
  2996. 00001DE0  0245 FFFD                andi.w     D5, 0xFFFD
  2997. 00001DE4  3C3C 0BB8                move.w     D6, 0xBB8
  2998. label00001DE8:
  2999. 00001DE8  7000                     moveq.l    D0, 0x00
  3000. 00001DEA  1014                     move.b     D0, [A4]
  3001. 00001DEC  4A80                     tst.l      D0
  3002. 00001DEE  7202                     moveq.l    D1, 0x02
  3003. 00001DF0  C200                     and.b      D1, D0
  3004. 00001DF2  7000                     moveq.l    D0, 0x00
  3005. 00001DF4  1001                     move.b     D0, D1
  3006. 00001DF6  4A80                     tst.l      D0
  3007. 00001DF8  7202                     moveq.l    D1, 0x02
  3008. 00001DFA  C245                     and.w      D1, D5
  3009. 00001DFC  7400                     moveq.l    D2, 0x00
  3010. 00001DFE  3401                     move.w     D2, D1
  3011. 00001E00  4A82                     tst.l      D2
  3012. 00001E02  B480                     cmp.l      D2, D0
  3013. 00001E04  670E                     beq        +0x10 /* 00001E14 */
  3014. 00001E06  1885                     move.b     [A4], D5
  3015. 00001E08  6002                     bra        +0x4 /* 00001E0C */
  3016. 00001E0A  6008                     bra        +0xA /* 00001E14 */
  3017. label00001E0C:
  3018. 00001E0C  3006                     move.w     D0, D6
  3019. 00001E0E  5346                     subq.w     D6, 1
  3020. 00001E10  B646                     cmp.w      D3, D6
  3021. 00001E12  6DD4                     blt        -0x2A /* 00001DE8 */
  3022. label00001E14:
  3023. 00001E14  0885 0000                bclr.b     D5, 0x0
  3024. 00001E18  1885                     move.b     [A4], D5
  3025. 00001E1A  0045 0002                ori.w      D5, 0x2
  3026. 00001E1E  3C3C 0BB8                move.w     D6, 0xBB8
  3027. label00001E22:
  3028. 00001E22  7000                     moveq.l    D0, 0x00
  3029. 00001E24  1014                     move.b     D0, [A4]
  3030. 00001E26  4A80                     tst.l      D0
  3031. 00001E28  7202                     moveq.l    D1, 0x02
  3032. 00001E2A  C200                     and.b      D1, D0
  3033. 00001E2C  7000                     moveq.l    D0, 0x00
  3034. 00001E2E  1001                     move.b     D0, D1
  3035. 00001E30  4A80                     tst.l      D0
  3036. 00001E32  7202                     moveq.l    D1, 0x02
  3037. 00001E34  C245                     and.w      D1, D5
  3038. 00001E36  7400                     moveq.l    D2, 0x00
  3039. 00001E38  3401                     move.w     D2, D1
  3040. 00001E3A  4A82                     tst.l      D2
  3041. 00001E3C  B480                     cmp.l      D2, D0
  3042. 00001E3E  670E                     beq        +0x10 /* 00001E4E */
  3043. 00001E40  1885                     move.b     [A4], D5
  3044. 00001E42  6002                     bra        +0x4 /* 00001E46 */
  3045. 00001E44  6008                     bra        +0xA /* 00001E4E */
  3046. label00001E46:
  3047. 00001E46  3006                     move.w     D0, D6
  3048. 00001E48  5346                     subq.w     D6, 1
  3049. 00001E4A  B646                     cmp.w      D3, D6
  3050. 00001E4C  6DD4                     blt        -0x2A /* 00001E22 */
  3051. label00001E4E:
  3052. 00001E4E  3E04                     move.w     D7, D4
  3053. 00001E50  5347                     subq.w     D7, 1
  3054. 00001E52  4A47                     tst.w      D7
  3055. 00001E54  6D04                     blt        +0x6 /* 00001E5A */
  3056. label00001E56:
  3057. 00001E56  51CF FFFE                dbf        D7, -0x4 /* 00001E56 */
  3058. label00001E5A:
  3059. 00001E5A  0045 0001                ori.w      D5, 0x1
  3060. 00001E5E  1885                     move.b     [A4], D5
  3061. 00001E60  6002                     bra        +0x4 /* 00001E64 */
  3062. 00001E62  6010                     bra        +0x12 /* 00001E74 */
  3063. label00001E64:
  3064. 00001E64  302E FFEC                move.w     D0, [A6 - 0x14]
  3065. 00001E68  536E FFEC                subq.w     [A6 - 0x14], 1
  3066. 00001E6C  B66E FFEC                cmp.w      D3, [A6 - 0x14]
  3067. 00001E70  6D00 FF40                blt        -0xBE /* 00001DB2 */
  3068. label00001E74:
  3069. 00001E74  4A6E FFEC                tst.w      [A6 - 0x14]
  3070. 00001E78  661C                     bne        +0x1E /* 00001E96 */
  3071. 00001E7A  206E FFF2                movea.l    A0, [A6 - 0xE]
  3072. 00001E7E  20AE FFFA                move.l     [A0], [A6 - 0x6]
  3073. 00001E82  43EE FFFF                lea.l      A1, [A6 - 0x1]
  3074. 00001E86  2049                     movea.l    A0, A1
  3075. 00001E88  1010                     move.b     D0, [A0]
  3076. 00001E8A  A05D                     syscall    SwapMMUMode
  3077. 00001E8C  1080                     move.b     [A0], D0
  3078. 00001E8E  303C E08E                move.w     D0, 0xE08E
  3079. 00001E92  6000 0620                bra        +0x622 /* 000024B4 */
  3080. label00001E96:
  3081. 00001E96  3E04                     move.w     D7, D4
  3082. 00001E98  5347                     subq.w     D7, 1
  3083. 00001E9A  4A47                     tst.w      D7
  3084. 00001E9C  6D04                     blt        +0x6 /* 00001EA2 */
  3085. label00001E9E:
  3086. 00001E9E  51CF FFFE                dbf        D7, -0x4 /* 00001E9E */
  3087. label00001EA2:
  3088. 00001EA2  0885 0000                bclr.b     D5, 0x0
  3089. 00001EA6  1885                     move.b     [A4], D5
  3090. 00001EA8  3E04                     move.w     D7, D4
  3091. 00001EAA  5347                     subq.w     D7, 1
  3092. 00001EAC  4A47                     tst.w      D7
  3093. 00001EAE  6D04                     blt        +0x6 /* 00001EB4 */
  3094. label00001EB0:
  3095. 00001EB0  51CF FFFE                dbf        D7, -0x4 /* 00001EB0 */
  3096. label00001EB4:
  3097. 00001EB4  303C 00FE                move.w     D0, 0xFE
  3098. 00001EB8  C06E 000A                and.w      D0, [A6 + 0xA]
  3099. 00001EBC  3D40 FFE8                move.w     [A6 - 0x18], D0
  3100. 00001EC0  3D7C 0007 FFEA           move.w     [A6 - 0x16], 0x7
  3101. 00001EC6  7600                     moveq.l    D3, 0x00
  3102. label00001EC8:
  3103. 00001EC8  0245 FFFD                andi.w     D5, 0xFFFD
  3104. 00001ECC  3C3C 0BB8                move.w     D6, 0xBB8
  3105. label00001ED0:
  3106. 00001ED0  7000                     moveq.l    D0, 0x00
  3107. 00001ED2  1014                     move.b     D0, [A4]
  3108. 00001ED4  4A80                     tst.l      D0
  3109. 00001ED6  7202                     moveq.l    D1, 0x02
  3110. 00001ED8  C200                     and.b      D1, D0
  3111. 00001EDA  7000                     moveq.l    D0, 0x00
  3112. 00001EDC  1001                     move.b     D0, D1
  3113. 00001EDE  4A80                     tst.l      D0
  3114. 00001EE0  7202                     moveq.l    D1, 0x02
  3115. 00001EE2  C245                     and.w      D1, D5
  3116. 00001EE4  7400                     moveq.l    D2, 0x00
  3117. 00001EE6  3401                     move.w     D2, D1
  3118. 00001EE8  4A82                     tst.l      D2
  3119. 00001EEA  B480                     cmp.l      D2, D0
  3120. 00001EEC  670E                     beq        +0x10 /* 00001EFC */
  3121. 00001EEE  1885                     move.b     [A4], D5
  3122. 00001EF0  6002                     bra        +0x4 /* 00001EF4 */
  3123. 00001EF2  6008                     bra        +0xA /* 00001EFC */
  3124. label00001EF4:
  3125. 00001EF4  3006                     move.w     D0, D6
  3126. 00001EF6  5346                     subq.w     D6, 1
  3127. 00001EF8  B646                     cmp.w      D3, D6
  3128. 00001EFA  6DD4                     blt        -0x2A /* 00001ED0 */
  3129. label00001EFC:
  3130. 00001EFC  302E FFEA                move.w     D0, [A6 - 0x16]
  3131. 00001F00  322E FFE8                move.w     D1, [A6 - 0x18]
  3132. 00001F04  E061                     asr        D1.w, D0
  3133. 00001F06  0801 0000                btst.b     D1, 0x0
  3134. 00001F0A  6706                     beq        +0x8 /* 00001F12 */
  3135. 00001F0C  0045 0001                ori.w      D5, 0x1
  3136. 00001F10  6004                     bra        +0x6 /* 00001F16 */
  3137. label00001F12:
  3138. 00001F12  0885 0000                bclr.b     D5, 0x0
  3139. label00001F16:
  3140. 00001F16  1885                     move.b     [A4], D5
  3141. 00001F18  3E04                     move.w     D7, D4
  3142. 00001F1A  5347                     subq.w     D7, 1
  3143. 00001F1C  4A47                     tst.w      D7
  3144. 00001F1E  6D04                     blt        +0x6 /* 00001F24 */
  3145. label00001F20:
  3146. 00001F20  51CF FFFE                dbf        D7, -0x4 /* 00001F20 */
  3147. label00001F24:
  3148. 00001F24  0045 0002                ori.w      D5, 0x2
  3149. 00001F28  3C3C 0BB8                move.w     D6, 0xBB8
  3150. label00001F2C:
  3151. 00001F2C  7000                     moveq.l    D0, 0x00
  3152. 00001F2E  1014                     move.b     D0, [A4]
  3153. 00001F30  4A80                     tst.l      D0
  3154. 00001F32  7202                     moveq.l    D1, 0x02
  3155. 00001F34  C200                     and.b      D1, D0
  3156. 00001F36  7000                     moveq.l    D0, 0x00
  3157. 00001F38  1001                     move.b     D0, D1
  3158. 00001F3A  4A80                     tst.l      D0
  3159. 00001F3C  7202                     moveq.l    D1, 0x02
  3160. 00001F3E  C245                     and.w      D1, D5
  3161. 00001F40  7400                     moveq.l    D2, 0x00
  3162. 00001F42  3401                     move.w     D2, D1
  3163. 00001F44  4A82                     tst.l      D2
  3164. 00001F46  B480                     cmp.l      D2, D0
  3165. 00001F48  670E                     beq        +0x10 /* 00001F58 */
  3166. 00001F4A  1885                     move.b     [A4], D5
  3167. 00001F4C  6002                     bra        +0x4 /* 00001F50 */
  3168. 00001F4E  6008                     bra        +0xA /* 00001F58 */
  3169. label00001F50:
  3170. 00001F50  3006                     move.w     D0, D6
  3171. 00001F52  5346                     subq.w     D6, 1
  3172. 00001F54  B646                     cmp.w      D3, D6
  3173. 00001F56  6DD4                     blt        -0x2A /* 00001F2C */
  3174. label00001F58:
  3175. 00001F58  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3176. 00001F5C  5347                     subq.w     D7, 1
  3177. 00001F5E  4A47                     tst.w      D7
  3178. 00001F60  6D04                     blt        +0x6 /* 00001F66 */
  3179. label00001F62:
  3180. 00001F62  51CF FFFE                dbf        D7, -0x4 /* 00001F62 */
  3181. label00001F66:
  3182. 00001F66  302E FFEA                move.w     D0, [A6 - 0x16]
  3183. 00001F6A  536E FFEA                subq.w     [A6 - 0x16], 1
  3184. 00001F6E  B66E FFEA                cmp.w      D3, [A6 - 0x16]
  3185. 00001F72  6F00 FF54                ble        -0xAA /* 00001EC8 */
  3186. 00001F76  0245 FFFD                andi.w     D5, 0xFFFD
  3187. 00001F7A  3C3C 0BB8                move.w     D6, 0xBB8
  3188. 00001F7E  7600                     moveq.l    D3, 0x00
  3189. label00001F80:
  3190. 00001F80  7000                     moveq.l    D0, 0x00
  3191. 00001F82  1014                     move.b     D0, [A4]
  3192. 00001F84  4A80                     tst.l      D0
  3193. 00001F86  7202                     moveq.l    D1, 0x02
  3194. 00001F88  C200                     and.b      D1, D0
  3195. 00001F8A  7000                     moveq.l    D0, 0x00
  3196. 00001F8C  1001                     move.b     D0, D1
  3197. 00001F8E  4A80                     tst.l      D0
  3198. 00001F90  7202                     moveq.l    D1, 0x02
  3199. 00001F92  C245                     and.w      D1, D5
  3200. 00001F94  7400                     moveq.l    D2, 0x00
  3201. 00001F96  3401                     move.w     D2, D1
  3202. 00001F98  4A82                     tst.l      D2
  3203. 00001F9A  B480                     cmp.l      D2, D0
  3204. 00001F9C  670E                     beq        +0x10 /* 00001FAC */
  3205. 00001F9E  1885                     move.b     [A4], D5
  3206. 00001FA0  6002                     bra        +0x4 /* 00001FA4 */
  3207. 00001FA2  6008                     bra        +0xA /* 00001FAC */
  3208. label00001FA4:
  3209. 00001FA4  3006                     move.w     D0, D6
  3210. 00001FA6  5346                     subq.w     D6, 1
  3211. 00001FA8  B646                     cmp.w      D3, D6
  3212. 00001FAA  6DD4                     blt        -0x2A /* 00001F80 */
  3213. label00001FAC:
  3214. 00001FAC  0045 0001                ori.w      D5, 0x1
  3215. 00001FB0  1885                     move.b     [A4], D5
  3216. 00001FB2  3D7C 0BB8 FFE6           move.w     [A6 - 0x1A], 0xBB8
  3217. 00001FB8  7600                     moveq.l    D3, 0x00
  3218. label00001FBA:
  3219. 00001FBA  3E04                     move.w     D7, D4
  3220. 00001FBC  5347                     subq.w     D7, 1
  3221. 00001FBE  4A47                     tst.w      D7
  3222. 00001FC0  6D04                     blt        +0x6 /* 00001FC6 */
  3223. label00001FC2:
  3224. 00001FC2  51CF FFFE                dbf        D7, -0x4 /* 00001FC2 */
  3225. label00001FC6:
  3226. 00001FC6  7000                     moveq.l    D0, 0x00
  3227. 00001FC8  1014                     move.b     D0, [A4]
  3228. 00001FCA  4A80                     tst.l      D0
  3229. 00001FCC  7201                     moveq.l    D1, 0x01
  3230. 00001FCE  C200                     and.b      D1, D0
  3231. 00001FD0  7000                     moveq.l    D0, 0x00
  3232. 00001FD2  1001                     move.b     D0, D1
  3233. 00001FD4  4A80                     tst.l      D0
  3234. 00001FD6  670E                     beq        +0x10 /* 00001FE6 */
  3235. 00001FD8  302E FFE6                move.w     D0, [A6 - 0x1A]
  3236. 00001FDC  536E FFE6                subq.w     [A6 - 0x1A], 1
  3237. 00001FE0  B66E FFE6                cmp.w      D3, [A6 - 0x1A]
  3238. 00001FE4  6DD4                     blt        -0x2A /* 00001FBA */
  3239. label00001FE6:
  3240. 00001FE6  4A6E FFE6                tst.w      [A6 - 0x1A]
  3241. 00001FEA  6652                     bne        +0x54 /* 0000203E */
  3242. 00001FEC  0045 0002                ori.w      D5, 0x2
  3243. 00001FF0  3C3C 0BB8                move.w     D6, 0xBB8
  3244. 00001FF4  7600                     moveq.l    D3, 0x00
  3245. label00001FF6:
  3246. 00001FF6  7000                     moveq.l    D0, 0x00
  3247. 00001FF8  1014                     move.b     D0, [A4]
  3248. 00001FFA  4A80                     tst.l      D0
  3249. 00001FFC  7202                     moveq.l    D1, 0x02
  3250. 00001FFE  C200                     and.b      D1, D0
  3251. 00002000  7000                     moveq.l    D0, 0x00
  3252. 00002002  1001                     move.b     D0, D1
  3253. 00002004  4A80                     tst.l      D0
  3254. 00002006  7202                     moveq.l    D1, 0x02
  3255. 00002008  C245                     and.w      D1, D5
  3256. 0000200A  7400                     moveq.l    D2, 0x00
  3257. 0000200C  3401                     move.w     D2, D1
  3258. 0000200E  4A82                     tst.l      D2
  3259. 00002010  B480                     cmp.l      D2, D0
  3260. 00002012  670E                     beq        +0x10 /* 00002022 */
  3261. 00002014  1885                     move.b     [A4], D5
  3262. 00002016  6002                     bra        +0x4 /* 0000201A */
  3263. 00002018  6008                     bra        +0xA /* 00002022 */
  3264. label0000201A:
  3265. 0000201A  3006                     move.w     D0, D6
  3266. 0000201C  5346                     subq.w     D6, 1
  3267. 0000201E  B646                     cmp.w      D3, D6
  3268. 00002020  6DD4                     blt        -0x2A /* 00001FF6 */
  3269. label00002022:
  3270. 00002022  206E FFF2                movea.l    A0, [A6 - 0xE]
  3271. 00002026  20AE FFFA                move.l     [A0], [A6 - 0x6]
  3272. 0000202A  43EE FFFF                lea.l      A1, [A6 - 0x1]
  3273. 0000202E  2049                     movea.l    A0, A1
  3274. 00002030  1010                     move.b     D0, [A0]
  3275. 00002032  A05D                     syscall    SwapMMUMode
  3276. 00002034  1080                     move.b     [A0], D0
  3277. 00002036  303C E08E                move.w     D0, 0xE08E
  3278. 0000203A  6000 0478                bra        +0x47A /* 000024B4 */
  3279. label0000203E:
  3280. 0000203E  0045 0002                ori.w      D5, 0x2
  3281. 00002042  3C3C 0BB8                move.w     D6, 0xBB8
  3282. 00002046  7600                     moveq.l    D3, 0x00
  3283. label00002048:
  3284. 00002048  7000                     moveq.l    D0, 0x00
  3285. 0000204A  1014                     move.b     D0, [A4]
  3286. 0000204C  4A80                     tst.l      D0
  3287. 0000204E  7202                     moveq.l    D1, 0x02
  3288. 00002050  C200                     and.b      D1, D0
  3289. 00002052  7000                     moveq.l    D0, 0x00
  3290. 00002054  1001                     move.b     D0, D1
  3291. 00002056  4A80                     tst.l      D0
  3292. 00002058  7202                     moveq.l    D1, 0x02
  3293. 0000205A  C245                     and.w      D1, D5
  3294. 0000205C  7400                     moveq.l    D2, 0x00
  3295. 0000205E  3401                     move.w     D2, D1
  3296. 00002060  4A82                     tst.l      D2
  3297. 00002062  B480                     cmp.l      D2, D0
  3298. 00002064  670E                     beq        +0x10 /* 00002074 */
  3299. 00002066  1885                     move.b     [A4], D5
  3300. 00002068  6002                     bra        +0x4 /* 0000206C */
  3301. 0000206A  6008                     bra        +0xA /* 00002074 */
  3302. label0000206C:
  3303. 0000206C  3006                     move.w     D0, D6
  3304. 0000206E  5346                     subq.w     D6, 1
  3305. 00002070  B646                     cmp.w      D3, D6
  3306. 00002072  6DD4                     blt        -0x2A /* 00002048 */
  3307. label00002074:
  3308. 00002074  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3309. 00002078  5347                     subq.w     D7, 1
  3310. 0000207A  4A47                     tst.w      D7
  3311. 0000207C  6D04                     blt        +0x6 /* 00002082 */
  3312. label0000207E:
  3313. 0000207E  51CF FFFE                dbf        D7, -0x4 /* 0000207E */
  3314. label00002082:
  3315. 00002082  3D6E 000E FFE8           move.w     [A6 - 0x18], [A6 + 0xE]
  3316. 00002088  3D7C 0007 FFEA           move.w     [A6 - 0x16], 0x7
  3317. 0000208E  7600                     moveq.l    D3, 0x00
  3318. label00002090:
  3319. 00002090  0245 FFFD                andi.w     D5, 0xFFFD
  3320. 00002094  3C3C 0BB8                move.w     D6, 0xBB8
  3321. label00002098:
  3322. 00002098  7000                     moveq.l    D0, 0x00
  3323. 0000209A  1014                     move.b     D0, [A4]
  3324. 0000209C  4A80                     tst.l      D0
  3325. 0000209E  7202                     moveq.l    D1, 0x02
  3326. 000020A0  C200                     and.b      D1, D0
  3327. 000020A2  7000                     moveq.l    D0, 0x00
  3328. 000020A4  1001                     move.b     D0, D1
  3329. 000020A6  4A80                     tst.l      D0
  3330. 000020A8  7202                     moveq.l    D1, 0x02
  3331. 000020AA  C245                     and.w      D1, D5
  3332. 000020AC  7400                     moveq.l    D2, 0x00
  3333. 000020AE  3401                     move.w     D2, D1
  3334. 000020B0  4A82                     tst.l      D2
  3335. 000020B2  B480                     cmp.l      D2, D0
  3336. 000020B4  670E                     beq        +0x10 /* 000020C4 */
  3337. 000020B6  1885                     move.b     [A4], D5
  3338. 000020B8  6002                     bra        +0x4 /* 000020BC */
  3339. 000020BA  6008                     bra        +0xA /* 000020C4 */
  3340. label000020BC:
  3341. 000020BC  3006                     move.w     D0, D6
  3342. 000020BE  5346                     subq.w     D6, 1
  3343. 000020C0  B646                     cmp.w      D3, D6
  3344. 000020C2  6DD4                     blt        -0x2A /* 00002098 */
  3345. label000020C4:
  3346. 000020C4  302E FFEA                move.w     D0, [A6 - 0x16]
  3347. 000020C8  322E FFE8                move.w     D1, [A6 - 0x18]
  3348. 000020CC  E061                     asr        D1.w, D0
  3349. 000020CE  0801 0000                btst.b     D1, 0x0
  3350. 000020D2  6706                     beq        +0x8 /* 000020DA */
  3351. 000020D4  0045 0001                ori.w      D5, 0x1
  3352. 000020D8  6004                     bra        +0x6 /* 000020DE */
  3353. label000020DA:
  3354. 000020DA  0885 0000                bclr.b     D5, 0x0
  3355. label000020DE:
  3356. 000020DE  1885                     move.b     [A4], D5
  3357. 000020E0  3E04                     move.w     D7, D4
  3358. 000020E2  5347                     subq.w     D7, 1
  3359. 000020E4  4A47                     tst.w      D7
  3360. 000020E6  6D04                     blt        +0x6 /* 000020EC */
  3361. label000020E8:
  3362. 000020E8  51CF FFFE                dbf        D7, -0x4 /* 000020E8 */
  3363. label000020EC:
  3364. 000020EC  0045 0002                ori.w      D5, 0x2
  3365. 000020F0  3C3C 0BB8                move.w     D6, 0xBB8
  3366. label000020F4:
  3367. 000020F4  7000                     moveq.l    D0, 0x00
  3368. 000020F6  1014                     move.b     D0, [A4]
  3369. 000020F8  4A80                     tst.l      D0
  3370. 000020FA  7202                     moveq.l    D1, 0x02
  3371. 000020FC  C200                     and.b      D1, D0
  3372. 000020FE  7000                     moveq.l    D0, 0x00
  3373. 00002100  1001                     move.b     D0, D1
  3374. 00002102  4A80                     tst.l      D0
  3375. 00002104  7202                     moveq.l    D1, 0x02
  3376. 00002106  C245                     and.w      D1, D5
  3377. 00002108  7400                     moveq.l    D2, 0x00
  3378. 0000210A  3401                     move.w     D2, D1
  3379. 0000210C  4A82                     tst.l      D2
  3380. 0000210E  B480                     cmp.l      D2, D0
  3381. 00002110  670E                     beq        +0x10 /* 00002120 */
  3382. 00002112  1885                     move.b     [A4], D5
  3383. 00002114  6002                     bra        +0x4 /* 00002118 */
  3384. 00002116  6008                     bra        +0xA /* 00002120 */
  3385. label00002118:
  3386. 00002118  3006                     move.w     D0, D6
  3387. 0000211A  5346                     subq.w     D6, 1
  3388. 0000211C  B646                     cmp.w      D3, D6
  3389. 0000211E  6DD4                     blt        -0x2A /* 000020F4 */
  3390. label00002120:
  3391. 00002120  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3392. 00002124  5347                     subq.w     D7, 1
  3393. 00002126  4A47                     tst.w      D7
  3394. 00002128  6D04                     blt        +0x6 /* 0000212E */
  3395. label0000212A:
  3396. 0000212A  51CF FFFE                dbf        D7, -0x4 /* 0000212A */
  3397. label0000212E:
  3398. 0000212E  302E FFEA                move.w     D0, [A6 - 0x16]
  3399. 00002132  536E FFEA                subq.w     [A6 - 0x16], 1
  3400. 00002136  B66E FFEA                cmp.w      D3, [A6 - 0x16]
  3401. 0000213A  6F00 FF54                ble        -0xAA /* 00002090 */
  3402. 0000213E  0245 FFFD                andi.w     D5, 0xFFFD
  3403. 00002142  3C3C 0BB8                move.w     D6, 0xBB8
  3404. 00002146  7600                     moveq.l    D3, 0x00
  3405. label00002148:
  3406. 00002148  7000                     moveq.l    D0, 0x00
  3407. 0000214A  1014                     move.b     D0, [A4]
  3408. 0000214C  4A80                     tst.l      D0
  3409. 0000214E  7202                     moveq.l    D1, 0x02
  3410. 00002150  C200                     and.b      D1, D0
  3411. 00002152  7000                     moveq.l    D0, 0x00
  3412. 00002154  1001                     move.b     D0, D1
  3413. 00002156  4A80                     tst.l      D0
  3414. 00002158  7202                     moveq.l    D1, 0x02
  3415. 0000215A  C245                     and.w      D1, D5
  3416. 0000215C  7400                     moveq.l    D2, 0x00
  3417. 0000215E  3401                     move.w     D2, D1
  3418. 00002160  4A82                     tst.l      D2
  3419. 00002162  B480                     cmp.l      D2, D0
  3420. 00002164  670E                     beq        +0x10 /* 00002174 */
  3421. 00002166  1885                     move.b     [A4], D5
  3422. 00002168  6002                     bra        +0x4 /* 0000216C */
  3423. 0000216A  6008                     bra        +0xA /* 00002174 */
  3424. label0000216C:
  3425. 0000216C  3006                     move.w     D0, D6
  3426. 0000216E  5346                     subq.w     D6, 1
  3427. 00002170  B646                     cmp.w      D3, D6
  3428. 00002172  6DD4                     blt        -0x2A /* 00002148 */
  3429. label00002174:
  3430. 00002174  0045 0001                ori.w      D5, 0x1
  3431. 00002178  1885                     move.b     [A4], D5
  3432. 0000217A  3D7C 0BB8 FFE6           move.w     [A6 - 0x1A], 0xBB8
  3433. 00002180  7600                     moveq.l    D3, 0x00
  3434. label00002182:
  3435. 00002182  3E04                     move.w     D7, D4
  3436. 00002184  5347                     subq.w     D7, 1
  3437. 00002186  4A47                     tst.w      D7
  3438. 00002188  6D04                     blt        +0x6 /* 0000218E */
  3439. label0000218A:
  3440. 0000218A  51CF FFFE                dbf        D7, -0x4 /* 0000218A */
  3441. label0000218E:
  3442. 0000218E  7000                     moveq.l    D0, 0x00
  3443. 00002190  1014                     move.b     D0, [A4]
  3444. 00002192  4A80                     tst.l      D0
  3445. 00002194  7201                     moveq.l    D1, 0x01
  3446. 00002196  C200                     and.b      D1, D0
  3447. 00002198  7000                     moveq.l    D0, 0x00
  3448. 0000219A  1001                     move.b     D0, D1
  3449. 0000219C  4A80                     tst.l      D0
  3450. 0000219E  670E                     beq        +0x10 /* 000021AE */
  3451. 000021A0  302E FFE6                move.w     D0, [A6 - 0x1A]
  3452. 000021A4  536E FFE6                subq.w     [A6 - 0x1A], 1
  3453. 000021A8  B66E FFE6                cmp.w      D3, [A6 - 0x1A]
  3454. 000021AC  6DD4                     blt        -0x2A /* 00002182 */
  3455. label000021AE:
  3456. 000021AE  4A6E FFE6                tst.w      [A6 - 0x1A]
  3457. 000021B2  6652                     bne        +0x54 /* 00002206 */
  3458. 000021B4  0045 0002                ori.w      D5, 0x2
  3459. 000021B8  3C3C 0BB8                move.w     D6, 0xBB8
  3460. 000021BC  7600                     moveq.l    D3, 0x00
  3461. label000021BE:
  3462. 000021BE  7000                     moveq.l    D0, 0x00
  3463. 000021C0  1014                     move.b     D0, [A4]
  3464. 000021C2  4A80                     tst.l      D0
  3465. 000021C4  7202                     moveq.l    D1, 0x02
  3466. 000021C6  C200                     and.b      D1, D0
  3467. 000021C8  7000                     moveq.l    D0, 0x00
  3468. 000021CA  1001                     move.b     D0, D1
  3469. 000021CC  4A80                     tst.l      D0
  3470. 000021CE  7202                     moveq.l    D1, 0x02
  3471. 000021D0  C245                     and.w      D1, D5
  3472. 000021D2  7400                     moveq.l    D2, 0x00
  3473. 000021D4  3401                     move.w     D2, D1
  3474. 000021D6  4A82                     tst.l      D2
  3475. 000021D8  B480                     cmp.l      D2, D0
  3476. 000021DA  670E                     beq        +0x10 /* 000021EA */
  3477. 000021DC  1885                     move.b     [A4], D5
  3478. 000021DE  6002                     bra        +0x4 /* 000021E2 */
  3479. 000021E0  6008                     bra        +0xA /* 000021EA */
  3480. label000021E2:
  3481. 000021E2  3006                     move.w     D0, D6
  3482. 000021E4  5346                     subq.w     D6, 1
  3483. 000021E6  B646                     cmp.w      D3, D6
  3484. 000021E8  6DD4                     blt        -0x2A /* 000021BE */
  3485. label000021EA:
  3486. 000021EA  206E FFF2                movea.l    A0, [A6 - 0xE]
  3487. 000021EE  20AE FFFA                move.l     [A0], [A6 - 0x6]
  3488. 000021F2  43EE FFFF                lea.l      A1, [A6 - 0x1]
  3489. 000021F6  2049                     movea.l    A0, A1
  3490. 000021F8  1010                     move.b     D0, [A0]
  3491. 000021FA  A05D                     syscall    SwapMMUMode
  3492. 000021FC  1080                     move.b     [A0], D0
  3493. 000021FE  303C E08E                move.w     D0, 0xE08E
  3494. 00002202  6000 02B0                bra        +0x2B2 /* 000024B4 */
  3495. label00002206:
  3496. 00002206  0045 0002                ori.w      D5, 0x2
  3497. 0000220A  3C3C 0BB8                move.w     D6, 0xBB8
  3498. 0000220E  7600                     moveq.l    D3, 0x00
  3499. label00002210:
  3500. 00002210  7000                     moveq.l    D0, 0x00
  3501. 00002212  1014                     move.b     D0, [A4]
  3502. 00002214  4A80                     tst.l      D0
  3503. 00002216  7202                     moveq.l    D1, 0x02
  3504. 00002218  C200                     and.b      D1, D0
  3505. 0000221A  7000                     moveq.l    D0, 0x00
  3506. 0000221C  1001                     move.b     D0, D1
  3507. 0000221E  4A80                     tst.l      D0
  3508. 00002220  7202                     moveq.l    D1, 0x02
  3509. 00002222  C245                     and.w      D1, D5
  3510. 00002224  7400                     moveq.l    D2, 0x00
  3511. 00002226  3401                     move.w     D2, D1
  3512. 00002228  4A82                     tst.l      D2
  3513. 0000222A  B480                     cmp.l      D2, D0
  3514. 0000222C  670E                     beq        +0x10 /* 0000223C */
  3515. 0000222E  1885                     move.b     [A4], D5
  3516. 00002230  6002                     bra        +0x4 /* 00002234 */
  3517. 00002232  6008                     bra        +0xA /* 0000223C */
  3518. label00002234:
  3519. 00002234  3006                     move.w     D0, D6
  3520. 00002236  5346                     subq.w     D6, 1
  3521. 00002238  B646                     cmp.w      D3, D6
  3522. 0000223A  6DD4                     blt        -0x2A /* 00002210 */
  3523. label0000223C:
  3524. 0000223C  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3525. 00002240  5347                     subq.w     D7, 1
  3526. 00002242  4A47                     tst.w      D7
  3527. 00002244  6D04                     blt        +0x6 /* 0000224A */
  3528. label00002246:
  3529. 00002246  51CF FFFE                dbf        D7, -0x4 /* 00002246 */
  3530. label0000224A:
  3531. 0000224A  426E FFEC                clr.w      [A6 - 0x14]
  3532. label0000224E:
  3533. 0000224E  302E FFEC                move.w     D0, [A6 - 0x14]
  3534. 00002252  7200                     moveq.l    D1, 0x00
  3535. 00002254  1233 0000                move.b     D1, [A3 + D0.w]
  3536. 00002258  4A81                     tst.l      D1
  3537. 0000225A  3D41 FFE8                move.w     [A6 - 0x18], D1
  3538. 0000225E  3D7C 0007 FFEA           move.w     [A6 - 0x16], 0x7
  3539. 00002264  7400                     moveq.l    D2, 0x00
  3540. label00002266:
  3541. 00002266  0245 FFFD                andi.w     D5, 0xFFFD
  3542. 0000226A  3C3C 0BB8                move.w     D6, 0xBB8
  3543. label0000226E:
  3544. 0000226E  7000                     moveq.l    D0, 0x00
  3545. 00002270  1014                     move.b     D0, [A4]
  3546. 00002272  4A80                     tst.l      D0
  3547. 00002274  7202                     moveq.l    D1, 0x02
  3548. 00002276  C200                     and.b      D1, D0
  3549. 00002278  7000                     moveq.l    D0, 0x00
  3550. 0000227A  1001                     move.b     D0, D1
  3551. 0000227C  4A80                     tst.l      D0
  3552. 0000227E  7202                     moveq.l    D1, 0x02
  3553. 00002280  C245                     and.w      D1, D5
  3554. 00002282  7600                     moveq.l    D3, 0x00
  3555. 00002284  3601                     move.w     D3, D1
  3556. 00002286  4A83                     tst.l      D3
  3557. 00002288  B680                     cmp.l      D3, D0
  3558. 0000228A  670E                     beq        +0x10 /* 0000229A */
  3559. 0000228C  1885                     move.b     [A4], D5
  3560. 0000228E  6002                     bra        +0x4 /* 00002292 */
  3561. 00002290  6008                     bra        +0xA /* 0000229A */
  3562. label00002292:
  3563. 00002292  3006                     move.w     D0, D6
  3564. 00002294  5346                     subq.w     D6, 1
  3565. 00002296  B446                     cmp.w      D2, D6
  3566. 00002298  6DD4                     blt        -0x2A /* 0000226E */
  3567. label0000229A:
  3568. 0000229A  302E FFEA                move.w     D0, [A6 - 0x16]
  3569. 0000229E  322E FFE8                move.w     D1, [A6 - 0x18]
  3570. 000022A2  E061                     asr        D1.w, D0
  3571. 000022A4  0801 0000                btst.b     D1, 0x0
  3572. 000022A8  6706                     beq        +0x8 /* 000022B0 */
  3573. 000022AA  0045 0001                ori.w      D5, 0x1
  3574. 000022AE  6004                     bra        +0x6 /* 000022B4 */
  3575. label000022B0:
  3576. 000022B0  0885 0000                bclr.b     D5, 0x0
  3577. label000022B4:
  3578. 000022B4  1885                     move.b     [A4], D5
  3579. 000022B6  3E04                     move.w     D7, D4
  3580. 000022B8  5347                     subq.w     D7, 1
  3581. 000022BA  4A47                     tst.w      D7
  3582. 000022BC  6D04                     blt        +0x6 /* 000022C2 */
  3583. label000022BE:
  3584. 000022BE  51CF FFFE                dbf        D7, -0x4 /* 000022BE */
  3585. label000022C2:
  3586. 000022C2  0045 0002                ori.w      D5, 0x2
  3587. 000022C6  3C3C 0BB8                move.w     D6, 0xBB8
  3588. label000022CA:
  3589. 000022CA  7000                     moveq.l    D0, 0x00
  3590. 000022CC  1014                     move.b     D0, [A4]
  3591. 000022CE  4A80                     tst.l      D0
  3592. 000022D0  7202                     moveq.l    D1, 0x02
  3593. 000022D2  C200                     and.b      D1, D0
  3594. 000022D4  7000                     moveq.l    D0, 0x00
  3595. 000022D6  1001                     move.b     D0, D1
  3596. 000022D8  4A80                     tst.l      D0
  3597. 000022DA  7202                     moveq.l    D1, 0x02
  3598. 000022DC  C245                     and.w      D1, D5
  3599. 000022DE  7600                     moveq.l    D3, 0x00
  3600. 000022E0  3601                     move.w     D3, D1
  3601. 000022E2  4A83                     tst.l      D3
  3602. 000022E4  B680                     cmp.l      D3, D0
  3603. 000022E6  670E                     beq        +0x10 /* 000022F6 */
  3604. 000022E8  1885                     move.b     [A4], D5
  3605. 000022EA  6002                     bra        +0x4 /* 000022EE */
  3606. 000022EC  6008                     bra        +0xA /* 000022F6 */
  3607. label000022EE:
  3608. 000022EE  3006                     move.w     D0, D6
  3609. 000022F0  5346                     subq.w     D6, 1
  3610. 000022F2  B446                     cmp.w      D2, D6
  3611. 000022F4  6DD4                     blt        -0x2A /* 000022CA */
  3612. label000022F6:
  3613. 000022F6  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3614. 000022FA  5347                     subq.w     D7, 1
  3615. 000022FC  4A47                     tst.w      D7
  3616. 000022FE  6D04                     blt        +0x6 /* 00002304 */
  3617. label00002300:
  3618. 00002300  51CF FFFE                dbf        D7, -0x4 /* 00002300 */
  3619. label00002304:
  3620. 00002304  302E FFEA                move.w     D0, [A6 - 0x16]
  3621. 00002308  536E FFEA                subq.w     [A6 - 0x16], 1
  3622. 0000230C  B46E FFEA                cmp.w      D2, [A6 - 0x16]
  3623. 00002310  6F00 FF54                ble        -0xAA /* 00002266 */
  3624. 00002314  0245 FFFD                andi.w     D5, 0xFFFD
  3625. 00002318  3C3C 0BB8                move.w     D6, 0xBB8
  3626. 0000231C  7600                     moveq.l    D3, 0x00
  3627. label0000231E:
  3628. 0000231E  7000                     moveq.l    D0, 0x00
  3629. 00002320  1014                     move.b     D0, [A4]
  3630. 00002322  4A80                     tst.l      D0
  3631. 00002324  7202                     moveq.l    D1, 0x02
  3632. 00002326  C200                     and.b      D1, D0
  3633. 00002328  7000                     moveq.l    D0, 0x00
  3634. 0000232A  1001                     move.b     D0, D1
  3635. 0000232C  4A80                     tst.l      D0
  3636. 0000232E  7202                     moveq.l    D1, 0x02
  3637. 00002330  C245                     and.w      D1, D5
  3638. 00002332  7400                     moveq.l    D2, 0x00
  3639. 00002334  3401                     move.w     D2, D1
  3640. 00002336  4A82                     tst.l      D2
  3641. 00002338  B480                     cmp.l      D2, D0
  3642. 0000233A  670E                     beq        +0x10 /* 0000234A */
  3643. 0000233C  1885                     move.b     [A4], D5
  3644. 0000233E  6002                     bra        +0x4 /* 00002342 */
  3645. 00002340  6008                     bra        +0xA /* 0000234A */
  3646. label00002342:
  3647. 00002342  3006                     move.w     D0, D6
  3648. 00002344  5346                     subq.w     D6, 1
  3649. 00002346  B646                     cmp.w      D3, D6
  3650. 00002348  6DD4                     blt        -0x2A /* 0000231E */
  3651. label0000234A:
  3652. 0000234A  0045 0001                ori.w      D5, 0x1
  3653. 0000234E  1885                     move.b     [A4], D5
  3654. 00002350  3D7C 0BB8 FFE6           move.w     [A6 - 0x1A], 0xBB8
  3655. 00002356  7600                     moveq.l    D3, 0x00
  3656. label00002358:
  3657. 00002358  3E04                     move.w     D7, D4
  3658. 0000235A  5347                     subq.w     D7, 1
  3659. 0000235C  4A47                     tst.w      D7
  3660. 0000235E  6D04                     blt        +0x6 /* 00002364 */
  3661. label00002360:
  3662. 00002360  51CF FFFE                dbf        D7, -0x4 /* 00002360 */
  3663. label00002364:
  3664. 00002364  7000                     moveq.l    D0, 0x00
  3665. 00002366  1014                     move.b     D0, [A4]
  3666. 00002368  4A80                     tst.l      D0
  3667. 0000236A  7201                     moveq.l    D1, 0x01
  3668. 0000236C  C200                     and.b      D1, D0
  3669. 0000236E  7000                     moveq.l    D0, 0x00
  3670. 00002370  1001                     move.b     D0, D1
  3671. 00002372  4A80                     tst.l      D0
  3672. 00002374  670E                     beq        +0x10 /* 00002384 */
  3673. 00002376  302E FFE6                move.w     D0, [A6 - 0x1A]
  3674. 0000237A  536E FFE6                subq.w     [A6 - 0x1A], 1
  3675. 0000237E  B66E FFE6                cmp.w      D3, [A6 - 0x1A]
  3676. 00002382  6DD4                     blt        -0x2A /* 00002358 */
  3677. label00002384:
  3678. 00002384  0045 0002                ori.w      D5, 0x2
  3679. 00002388  3C3C 0BB8                move.w     D6, 0xBB8
  3680. 0000238C  7600                     moveq.l    D3, 0x00
  3681. label0000238E:
  3682. 0000238E  7000                     moveq.l    D0, 0x00
  3683. 00002390  1014                     move.b     D0, [A4]
  3684. 00002392  4A80                     tst.l      D0
  3685. 00002394  7202                     moveq.l    D1, 0x02
  3686. 00002396  C200                     and.b      D1, D0
  3687. 00002398  7000                     moveq.l    D0, 0x00
  3688. 0000239A  1001                     move.b     D0, D1
  3689. 0000239C  4A80                     tst.l      D0
  3690. 0000239E  7202                     moveq.l    D1, 0x02
  3691. 000023A0  C245                     and.w      D1, D5
  3692. 000023A2  7400                     moveq.l    D2, 0x00
  3693. 000023A4  3401                     move.w     D2, D1
  3694. 000023A6  4A82                     tst.l      D2
  3695. 000023A8  B480                     cmp.l      D2, D0
  3696. 000023AA  670E                     beq        +0x10 /* 000023BA */
  3697. 000023AC  1885                     move.b     [A4], D5
  3698. 000023AE  6002                     bra        +0x4 /* 000023B2 */
  3699. 000023B0  6008                     bra        +0xA /* 000023BA */
  3700. label000023B2:
  3701. 000023B2  3006                     move.w     D0, D6
  3702. 000023B4  5346                     subq.w     D6, 1
  3703. 000023B6  B646                     cmp.w      D3, D6
  3704. 000023B8  6DD4                     blt        -0x2A /* 0000238E */
  3705. label000023BA:
  3706. 000023BA  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3707. 000023BE  5347                     subq.w     D7, 1
  3708. 000023C0  4A47                     tst.w      D7
  3709. 000023C2  6D04                     blt        +0x6 /* 000023C8 */
  3710. label000023C4:
  3711. 000023C4  51CF FFFE                dbf        D7, -0x4 /* 000023C4 */
  3712. label000023C8:
  3713. 000023C8  0C6E 00E0 000A           cmpi.w     [A6 + 0xA], 0xE0
  3714. 000023CE  6612                     bne        +0x14 /* 000023E2 */
  3715. 000023D0  302E FFEC                move.w     D0, [A6 - 0x14]
  3716. 000023D4  206E FFF6                movea.l    A0, [A6 - 0xA]
  3717. 000023D8  322E FFEC                move.w     D1, [A6 - 0x14]
  3718. 000023DC  11B3 0000 1000           move.b     [A0 + D1.w], [A3 + D0.w]
  3719. label000023E2:
  3720. 000023E2  302E FFEC                move.w     D0, [A6 - 0x14]
  3721. 000023E6  526E FFEC                addq.w     [A6 - 0x14], 1
  3722. 000023EA  0C6E 0100 FFEC           cmpi.w     [A6 - 0x14], 0x100
  3723. 000023F0  6D00 FE5C                blt        -0x1A2 /* 0000224E */
  3724. 000023F4  4A6E FFE6                tst.w      [A6 - 0x1A]
  3725. 000023F8  661C                     bne        +0x1E /* 00002416 */
  3726. 000023FA  206E FFF2                movea.l    A0, [A6 - 0xE]
  3727. 000023FE  20AE FFFA                move.l     [A0], [A6 - 0x6]
  3728. 00002402  43EE FFFF                lea.l      A1, [A6 - 0x1]
  3729. 00002406  2049                     movea.l    A0, A1
  3730. 00002408  1010                     move.b     D0, [A0]
  3731. 0000240A  A05D                     syscall    SwapMMUMode
  3732. 0000240C  1080                     move.b     [A0], D0
  3733. 0000240E  303C E08E                move.w     D0, 0xE08E
  3734. 00002412  6000 00A0                bra        +0xA2 /* 000024B4 */
  3735. label00002416:
  3736. 00002416  0245 FFFD                andi.w     D5, 0xFFFD
  3737. 0000241A  3C3C 0BB8                move.w     D6, 0xBB8
  3738. 0000241E  7600                     moveq.l    D3, 0x00
  3739. label00002420:
  3740. 00002420  7000                     moveq.l    D0, 0x00
  3741. 00002422  1014                     move.b     D0, [A4]
  3742. 00002424  4A80                     tst.l      D0
  3743. 00002426  7202                     moveq.l    D1, 0x02
  3744. 00002428  C200                     and.b      D1, D0
  3745. 0000242A  7000                     moveq.l    D0, 0x00
  3746. 0000242C  1001                     move.b     D0, D1
  3747. 0000242E  4A80                     tst.l      D0
  3748. 00002430  7202                     moveq.l    D1, 0x02
  3749. 00002432  C245                     and.w      D1, D5
  3750. 00002434  7400                     moveq.l    D2, 0x00
  3751. 00002436  3401                     move.w     D2, D1
  3752. 00002438  4A82                     tst.l      D2
  3753. 0000243A  B480                     cmp.l      D2, D0
  3754. 0000243C  670E                     beq        +0x10 /* 0000244C */
  3755. 0000243E  1885                     move.b     [A4], D5
  3756. 00002440  6002                     bra        +0x4 /* 00002444 */
  3757. 00002442  6008                     bra        +0xA /* 0000244C */
  3758. label00002444:
  3759. 00002444  3006                     move.w     D0, D6
  3760. 00002446  5346                     subq.w     D6, 1
  3761. 00002448  B646                     cmp.w      D3, D6
  3762. 0000244A  6DD4                     blt        -0x2A /* 00002420 */
  3763. label0000244C:
  3764. 0000244C  0885 0000                bclr.b     D5, 0x0
  3765. 00002450  1885                     move.b     [A4], D5
  3766. 00002452  3E04                     move.w     D7, D4
  3767. 00002454  5347                     subq.w     D7, 1
  3768. 00002456  4A47                     tst.w      D7
  3769. 00002458  6D04                     blt        +0x6 /* 0000245E */
  3770. label0000245A:
  3771. 0000245A  51CF FFFE                dbf        D7, -0x4 /* 0000245A */
  3772. label0000245E:
  3773. 0000245E  0045 0002                ori.w      D5, 0x2
  3774. 00002462  3C3C 0BB8                move.w     D6, 0xBB8
  3775. 00002466  7600                     moveq.l    D3, 0x00
  3776. label00002468:
  3777. 00002468  7000                     moveq.l    D0, 0x00
  3778. 0000246A  1014                     move.b     D0, [A4]
  3779. 0000246C  4A80                     tst.l      D0
  3780. 0000246E  7202                     moveq.l    D1, 0x02
  3781. 00002470  C200                     and.b      D1, D0
  3782. 00002472  7000                     moveq.l    D0, 0x00
  3783. 00002474  1001                     move.b     D0, D1
  3784. 00002476  4A80                     tst.l      D0
  3785. 00002478  7202                     moveq.l    D1, 0x02
  3786. 0000247A  C245                     and.w      D1, D5
  3787. 0000247C  7400                     moveq.l    D2, 0x00
  3788. 0000247E  3401                     move.w     D2, D1
  3789. 00002480  4A82                     tst.l      D2
  3790. 00002482  B480                     cmp.l      D2, D0
  3791. 00002484  670E                     beq        +0x10 /* 00002494 */
  3792. 00002486  1885                     move.b     [A4], D5
  3793. 00002488  6002                     bra        +0x4 /* 0000248C */
  3794. 0000248A  6008                     bra        +0xA /* 00002494 */
  3795. label0000248C:
  3796. 0000248C  3006                     move.w     D0, D6
  3797. 0000248E  5346                     subq.w     D6, 1
  3798. 00002490  B646                     cmp.w      D3, D6
  3799. 00002492  6DD4                     blt        -0x2A /* 00002468 */
  3800. label00002494:
  3801. 00002494  3E04                     move.w     D7, D4
  3802. 00002496  5347                     subq.w     D7, 1
  3803. 00002498  4A47                     tst.w      D7
  3804. 0000249A  6D04                     blt        +0x6 /* 000024A0 */
  3805. label0000249C:
  3806. 0000249C  51CF FFFE                dbf        D7, -0x4 /* 0000249C */
  3807. label000024A0:
  3808. 000024A0  0045 0001                ori.w      D5, 0x1
  3809. 000024A4  1885                     move.b     [A4], D5
  3810. 000024A6  43EE FFFF                lea.l      A1, [A6 - 0x1]
  3811. 000024AA  2049                     movea.l    A0, A1
  3812. 000024AC  1010                     move.b     D0, [A0]
  3813. 000024AE  A05D                     syscall    SwapMMUMode
  3814. 000024B0  1080                     move.b     [A0], D0
  3815. 000024B2  7000                     moveq.l    D0, 0x00
  3816. label000024B4:
  3817. 000024B4  4CEE 18F8 FFC8           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x38]
  3818. 000024BA  4E5E                     unlink     A6
  3819. 000024BC  4E75                     rts
  3820. fn000024BE:
  3821. 000024BE  4E56 FFE8                link       A6, -0x0018
  3822. 000024C2  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  3823. 000024C6  206E 0014                movea.l    A0, [A6 + 0x14]
  3824. 000024CA  2D50 FFF6                move.l     [A6 - 0xA], [A0]
  3825. 000024CE  266E FFF6                movea.l    A3, [A6 - 0xA]
  3826. 000024D2  D7FC 00FE 6018           add.l      A3, 0xFE6018
  3827. 000024D8  286E FFF6                movea.l    A4, [A6 - 0xA]
  3828. 000024DC  D9FC 00FE 701D           add.l      A4, 0xFE701D
  3829. 000024E2  598F                     subq.l     A7, 4
  3830. 000024E4  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  3831. 000024E8  4EBA 3A2A                jsr        [PC + 0x3A2A /* 00005F14 */]
  3832. 000024EC  2D5F FFF2                move.l     [A6 - 0xE], [A7]+
  3833. 000024F0  1D7C 0001 FFFB           move.b     [A6 - 0x5], 0x1
  3834. 000024F6  43EE FFFB                lea.l      A1, [A6 - 0x5]
  3835. 000024FA  2049                     movea.l    A0, A1
  3836. 000024FC  1010                     move.b     D0, [A0]
  3837. 000024FE  A05D                     syscall    SwapMMUMode
  3838. 00002500  1080                     move.b     [A0], D0
  3839. 00002502  2D53 FFFC                move.l     [A6 - 0x4], [A3]
  3840. 00002506  7003                     moveq.l    D0, 0x03
  3841. 00002508  2680                     move.l     [A3], D0
  3842. 0000250A  7A00                     moveq.l    D5, 0x00
  3843. 0000250C  1A14                     move.b     D5, [A4]
  3844. 0000250E  4A85                     tst.l      D5
  3845. 00002510  722F                     moveq.l    D1, 0x2F
  3846. 00002512  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  3847. 00002516  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  3848. 0000251E  3801                     move.w     D4, D1
  3849. 00002520  7228                     moveq.l    D1, 0x28
  3850. 00002522  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  3851. 00002526  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  3852. 0000252E  3D41 FFE8                move.w     [A6 - 0x18], D1
  3853. 00002532  3D7C 0BB8 FFF0           move.w     [A6 - 0x10], 0xBB8
  3854. 00002538  7600                     moveq.l    D3, 0x00
  3855. label0000253A:
  3856. 0000253A  7000                     moveq.l    D0, 0x00
  3857. 0000253C  1014                     move.b     D0, [A4]
  3858. 0000253E  4A80                     tst.l      D0
  3859. 00002540  7202                     moveq.l    D1, 0x02
  3860. 00002542  C200                     and.b      D1, D0
  3861. 00002544  7000                     moveq.l    D0, 0x00
  3862. 00002546  1001                     move.b     D0, D1
  3863. 00002548  4A80                     tst.l      D0
  3864. 0000254A  0C40 0002                cmpi.w     D0, 0x2
  3865. 0000254E  6618                     bne        +0x1A /* 00002568 */
  3866. 00002550  7000                     moveq.l    D0, 0x00
  3867. 00002552  1014                     move.b     D0, [A4]
  3868. 00002554  4A80                     tst.l      D0
  3869. 00002556  7201                     moveq.l    D1, 0x01
  3870. 00002558  C200                     and.b      D1, D0
  3871. 0000255A  7000                     moveq.l    D0, 0x00
  3872. 0000255C  1001                     move.b     D0, D1
  3873. 0000255E  4A80                     tst.l      D0
  3874. 00002560  0C40 0001                cmpi.w     D0, 0x1
  3875. 00002564  6700 0096                beq        +0x98 /* 000025FC */
  3876. label00002568:
  3877. 00002568  0245 FFFD                andi.w     D5, 0xFFFD
  3878. 0000256C  3C3C 0BB8                move.w     D6, 0xBB8
  3879. label00002570:
  3880. 00002570  7000                     moveq.l    D0, 0x00
  3881. 00002572  1014                     move.b     D0, [A4]
  3882. 00002574  4A80                     tst.l      D0
  3883. 00002576  7202                     moveq.l    D1, 0x02
  3884. 00002578  C200                     and.b      D1, D0
  3885. 0000257A  7000                     moveq.l    D0, 0x00
  3886. 0000257C  1001                     move.b     D0, D1
  3887. 0000257E  4A80                     tst.l      D0
  3888. 00002580  7202                     moveq.l    D1, 0x02
  3889. 00002582  C245                     and.w      D1, D5
  3890. 00002584  7400                     moveq.l    D2, 0x00
  3891. 00002586  3401                     move.w     D2, D1
  3892. 00002588  4A82                     tst.l      D2
  3893. 0000258A  B480                     cmp.l      D2, D0
  3894. 0000258C  670E                     beq        +0x10 /* 0000259C */
  3895. 0000258E  1885                     move.b     [A4], D5
  3896. 00002590  6002                     bra        +0x4 /* 00002594 */
  3897. 00002592  6008                     bra        +0xA /* 0000259C */
  3898. label00002594:
  3899. 00002594  3006                     move.w     D0, D6
  3900. 00002596  5346                     subq.w     D6, 1
  3901. 00002598  B646                     cmp.w      D3, D6
  3902. 0000259A  6DD4                     blt        -0x2A /* 00002570 */
  3903. label0000259C:
  3904. 0000259C  0885 0000                bclr.b     D5, 0x0
  3905. 000025A0  1885                     move.b     [A4], D5
  3906. 000025A2  0045 0002                ori.w      D5, 0x2
  3907. 000025A6  3C3C 0BB8                move.w     D6, 0xBB8
  3908. label000025AA:
  3909. 000025AA  7000                     moveq.l    D0, 0x00
  3910. 000025AC  1014                     move.b     D0, [A4]
  3911. 000025AE  4A80                     tst.l      D0
  3912. 000025B0  7202                     moveq.l    D1, 0x02
  3913. 000025B2  C200                     and.b      D1, D0
  3914. 000025B4  7000                     moveq.l    D0, 0x00
  3915. 000025B6  1001                     move.b     D0, D1
  3916. 000025B8  4A80                     tst.l      D0
  3917. 000025BA  7202                     moveq.l    D1, 0x02
  3918. 000025BC  C245                     and.w      D1, D5
  3919. 000025BE  7400                     moveq.l    D2, 0x00
  3920. 000025C0  3401                     move.w     D2, D1
  3921. 000025C2  4A82                     tst.l      D2
  3922. 000025C4  B480                     cmp.l      D2, D0
  3923. 000025C6  670E                     beq        +0x10 /* 000025D6 */
  3924. 000025C8  1885                     move.b     [A4], D5
  3925. 000025CA  6002                     bra        +0x4 /* 000025CE */
  3926. 000025CC  6008                     bra        +0xA /* 000025D6 */
  3927. label000025CE:
  3928. 000025CE  3006                     move.w     D0, D6
  3929. 000025D0  5346                     subq.w     D6, 1
  3930. 000025D2  B646                     cmp.w      D3, D6
  3931. 000025D4  6DD4                     blt        -0x2A /* 000025AA */
  3932. label000025D6:
  3933. 000025D6  3E04                     move.w     D7, D4
  3934. 000025D8  5347                     subq.w     D7, 1
  3935. 000025DA  4A47                     tst.w      D7
  3936. 000025DC  6D04                     blt        +0x6 /* 000025E2 */
  3937. label000025DE:
  3938. 000025DE  51CF FFFE                dbf        D7, -0x4 /* 000025DE */
  3939. label000025E2:
  3940. 000025E2  0045 0001                ori.w      D5, 0x1
  3941. 000025E6  1885                     move.b     [A4], D5
  3942. 000025E8  6002                     bra        +0x4 /* 000025EC */
  3943. 000025EA  6010                     bra        +0x12 /* 000025FC */
  3944. label000025EC:
  3945. 000025EC  302E FFF0                move.w     D0, [A6 - 0x10]
  3946. 000025F0  536E FFF0                subq.w     [A6 - 0x10], 1
  3947. 000025F4  B66E FFF0                cmp.w      D3, [A6 - 0x10]
  3948. 000025F8  6D00 FF40                blt        -0xBE /* 0000253A */
  3949. label000025FC:
  3950. 000025FC  4A6E FFF0                tst.w      [A6 - 0x10]
  3951. 00002600  6618                     bne        +0x1A /* 0000261A */
  3952. 00002602  26AE FFFC                move.l     [A3], [A6 - 0x4]
  3953. 00002606  43EE FFFB                lea.l      A1, [A6 - 0x5]
  3954. 0000260A  2049                     movea.l    A0, A1
  3955. 0000260C  1010                     move.b     D0, [A0]
  3956. 0000260E  A05D                     syscall    SwapMMUMode
  3957. 00002610  1080                     move.b     [A0], D0
  3958. 00002612  303C E08E                move.w     D0, 0xE08E
  3959. 00002616  6000 0776                bra        +0x778 /* 00002D8E */
  3960. label0000261A:
  3961. 0000261A  3E04                     move.w     D7, D4
  3962. 0000261C  5347                     subq.w     D7, 1
  3963. 0000261E  4A47                     tst.w      D7
  3964. 00002620  6D04                     blt        +0x6 /* 00002626 */
  3965. label00002622:
  3966. 00002622  51CF FFFE                dbf        D7, -0x4 /* 00002622 */
  3967. label00002626:
  3968. 00002626  0885 0000                bclr.b     D5, 0x0
  3969. 0000262A  1885                     move.b     [A4], D5
  3970. 0000262C  3E04                     move.w     D7, D4
  3971. 0000262E  5347                     subq.w     D7, 1
  3972. 00002630  4A47                     tst.w      D7
  3973. 00002632  6D04                     blt        +0x6 /* 00002638 */
  3974. label00002634:
  3975. 00002634  51CF FFFE                dbf        D7, -0x4 /* 00002634 */
  3976. label00002638:
  3977. 00002638  303C 00FE                move.w     D0, 0xFE
  3978. 0000263C  C06E 000A                and.w      D0, [A6 + 0xA]
  3979. 00002640  3D40 FFEC                move.w     [A6 - 0x14], D0
  3980. 00002644  3D7C 0007 FFEE           move.w     [A6 - 0x12], 0x7
  3981. 0000264A  7600                     moveq.l    D3, 0x00
  3982. label0000264C:
  3983. 0000264C  0245 FFFD                andi.w     D5, 0xFFFD
  3984. 00002650  3C3C 0BB8                move.w     D6, 0xBB8
  3985. label00002654:
  3986. 00002654  7000                     moveq.l    D0, 0x00
  3987. 00002656  1014                     move.b     D0, [A4]
  3988. 00002658  4A80                     tst.l      D0
  3989. 0000265A  7202                     moveq.l    D1, 0x02
  3990. 0000265C  C200                     and.b      D1, D0
  3991. 0000265E  7000                     moveq.l    D0, 0x00
  3992. 00002660  1001                     move.b     D0, D1
  3993. 00002662  4A80                     tst.l      D0
  3994. 00002664  7202                     moveq.l    D1, 0x02
  3995. 00002666  C245                     and.w      D1, D5
  3996. 00002668  7400                     moveq.l    D2, 0x00
  3997. 0000266A  3401                     move.w     D2, D1
  3998. 0000266C  4A82                     tst.l      D2
  3999. 0000266E  B480                     cmp.l      D2, D0
  4000. 00002670  670E                     beq        +0x10 /* 00002680 */
  4001. 00002672  1885                     move.b     [A4], D5
  4002. 00002674  6002                     bra        +0x4 /* 00002678 */
  4003. 00002676  6008                     bra        +0xA /* 00002680 */
  4004. label00002678:
  4005. 00002678  3006                     move.w     D0, D6
  4006. 0000267A  5346                     subq.w     D6, 1
  4007. 0000267C  B646                     cmp.w      D3, D6
  4008. 0000267E  6DD4                     blt        -0x2A /* 00002654 */
  4009. label00002680:
  4010. 00002680  302E FFEE                move.w     D0, [A6 - 0x12]
  4011. 00002684  322E FFEC                move.w     D1, [A6 - 0x14]
  4012. 00002688  E061                     asr        D1.w, D0
  4013. 0000268A  0801 0000                btst.b     D1, 0x0
  4014. 0000268E  6706                     beq        +0x8 /* 00002696 */
  4015. 00002690  0045 0001                ori.w      D5, 0x1
  4016. 00002694  6004                     bra        +0x6 /* 0000269A */
  4017. label00002696:
  4018. 00002696  0885 0000                bclr.b     D5, 0x0
  4019. label0000269A:
  4020. 0000269A  1885                     move.b     [A4], D5
  4021. 0000269C  3E04                     move.w     D7, D4
  4022. 0000269E  5347                     subq.w     D7, 1
  4023. 000026A0  4A47                     tst.w      D7
  4024. 000026A2  6D04                     blt        +0x6 /* 000026A8 */
  4025. label000026A4:
  4026. 000026A4  51CF FFFE                dbf        D7, -0x4 /* 000026A4 */
  4027. label000026A8:
  4028. 000026A8  0045 0002                ori.w      D5, 0x2
  4029. 000026AC  3C3C 0BB8                move.w     D6, 0xBB8
  4030. label000026B0:
  4031. 000026B0  7000                     moveq.l    D0, 0x00
  4032. 000026B2  1014                     move.b     D0, [A4]
  4033. 000026B4  4A80                     tst.l      D0
  4034. 000026B6  7202                     moveq.l    D1, 0x02
  4035. 000026B8  C200                     and.b      D1, D0
  4036. 000026BA  7000                     moveq.l    D0, 0x00
  4037. 000026BC  1001                     move.b     D0, D1
  4038. 000026BE  4A80                     tst.l      D0
  4039. 000026C0  7202                     moveq.l    D1, 0x02
  4040. 000026C2  C245                     and.w      D1, D5
  4041. 000026C4  7400                     moveq.l    D2, 0x00
  4042. 000026C6  3401                     move.w     D2, D1
  4043. 000026C8  4A82                     tst.l      D2
  4044. 000026CA  B480                     cmp.l      D2, D0
  4045. 000026CC  670E                     beq        +0x10 /* 000026DC */
  4046. 000026CE  1885                     move.b     [A4], D5
  4047. 000026D0  6002                     bra        +0x4 /* 000026D4 */
  4048. 000026D2  6008                     bra        +0xA /* 000026DC */
  4049. label000026D4:
  4050. 000026D4  3006                     move.w     D0, D6
  4051. 000026D6  5346                     subq.w     D6, 1
  4052. 000026D8  B646                     cmp.w      D3, D6
  4053. 000026DA  6DD4                     blt        -0x2A /* 000026B0 */
  4054. label000026DC:
  4055. 000026DC  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4056. 000026E0  5347                     subq.w     D7, 1
  4057. 000026E2  4A47                     tst.w      D7
  4058. 000026E4  6D04                     blt        +0x6 /* 000026EA */
  4059. label000026E6:
  4060. 000026E6  51CF FFFE                dbf        D7, -0x4 /* 000026E6 */
  4061. label000026EA:
  4062. 000026EA  302E FFEE                move.w     D0, [A6 - 0x12]
  4063. 000026EE  536E FFEE                subq.w     [A6 - 0x12], 1
  4064. 000026F2  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  4065. 000026F6  6F00 FF54                ble        -0xAA /* 0000264C */
  4066. 000026FA  0245 FFFD                andi.w     D5, 0xFFFD
  4067. 000026FE  3C3C 0BB8                move.w     D6, 0xBB8
  4068. 00002702  7600                     moveq.l    D3, 0x00
  4069. label00002704:
  4070. 00002704  7000                     moveq.l    D0, 0x00
  4071. 00002706  1014                     move.b     D0, [A4]
  4072. 00002708  4A80                     tst.l      D0
  4073. 0000270A  7202                     moveq.l    D1, 0x02
  4074. 0000270C  C200                     and.b      D1, D0
  4075. 0000270E  7000                     moveq.l    D0, 0x00
  4076. 00002710  1001                     move.b     D0, D1
  4077. 00002712  4A80                     tst.l      D0
  4078. 00002714  7202                     moveq.l    D1, 0x02
  4079. 00002716  C245                     and.w      D1, D5
  4080. 00002718  7400                     moveq.l    D2, 0x00
  4081. 0000271A  3401                     move.w     D2, D1
  4082. 0000271C  4A82                     tst.l      D2
  4083. 0000271E  B480                     cmp.l      D2, D0
  4084. 00002720  670E                     beq        +0x10 /* 00002730 */
  4085. 00002722  1885                     move.b     [A4], D5
  4086. 00002724  6002                     bra        +0x4 /* 00002728 */
  4087. 00002726  6008                     bra        +0xA /* 00002730 */
  4088. label00002728:
  4089. 00002728  3006                     move.w     D0, D6
  4090. 0000272A  5346                     subq.w     D6, 1
  4091. 0000272C  B646                     cmp.w      D3, D6
  4092. 0000272E  6DD4                     blt        -0x2A /* 00002704 */
  4093. label00002730:
  4094. 00002730  0045 0001                ori.w      D5, 0x1
  4095. 00002734  1885                     move.b     [A4], D5
  4096. 00002736  3D7C 0BB8 FFEA           move.w     [A6 - 0x16], 0xBB8
  4097. 0000273C  7600                     moveq.l    D3, 0x00
  4098. label0000273E:
  4099. 0000273E  3E04                     move.w     D7, D4
  4100. 00002740  5347                     subq.w     D7, 1
  4101. 00002742  4A47                     tst.w      D7
  4102. 00002744  6D04                     blt        +0x6 /* 0000274A */
  4103. label00002746:
  4104. 00002746  51CF FFFE                dbf        D7, -0x4 /* 00002746 */
  4105. label0000274A:
  4106. 0000274A  7000                     moveq.l    D0, 0x00
  4107. 0000274C  1014                     move.b     D0, [A4]
  4108. 0000274E  4A80                     tst.l      D0
  4109. 00002750  7201                     moveq.l    D1, 0x01
  4110. 00002752  C200                     and.b      D1, D0
  4111. 00002754  7000                     moveq.l    D0, 0x00
  4112. 00002756  1001                     move.b     D0, D1
  4113. 00002758  4A80                     tst.l      D0
  4114. 0000275A  670E                     beq        +0x10 /* 0000276A */
  4115. 0000275C  302E FFEA                move.w     D0, [A6 - 0x16]
  4116. 00002760  536E FFEA                subq.w     [A6 - 0x16], 1
  4117. 00002764  B66E FFEA                cmp.w      D3, [A6 - 0x16]
  4118. 00002768  6DD4                     blt        -0x2A /* 0000273E */
  4119. label0000276A:
  4120. 0000276A  4A6E FFEA                tst.w      [A6 - 0x16]
  4121. 0000276E  664E                     bne        +0x50 /* 000027BE */
  4122. 00002770  0045 0002                ori.w      D5, 0x2
  4123. 00002774  3C3C 0BB8                move.w     D6, 0xBB8
  4124. 00002778  7600                     moveq.l    D3, 0x00
  4125. label0000277A:
  4126. 0000277A  7000                     moveq.l    D0, 0x00
  4127. 0000277C  1014                     move.b     D0, [A4]
  4128. 0000277E  4A80                     tst.l      D0
  4129. 00002780  7202                     moveq.l    D1, 0x02
  4130. 00002782  C200                     and.b      D1, D0
  4131. 00002784  7000                     moveq.l    D0, 0x00
  4132. 00002786  1001                     move.b     D0, D1
  4133. 00002788  4A80                     tst.l      D0
  4134. 0000278A  7202                     moveq.l    D1, 0x02
  4135. 0000278C  C245                     and.w      D1, D5
  4136. 0000278E  7400                     moveq.l    D2, 0x00
  4137. 00002790  3401                     move.w     D2, D1
  4138. 00002792  4A82                     tst.l      D2
  4139. 00002794  B480                     cmp.l      D2, D0
  4140. 00002796  670E                     beq        +0x10 /* 000027A6 */
  4141. 00002798  1885                     move.b     [A4], D5
  4142. 0000279A  6002                     bra        +0x4 /* 0000279E */
  4143. 0000279C  6008                     bra        +0xA /* 000027A6 */
  4144. label0000279E:
  4145. 0000279E  3006                     move.w     D0, D6
  4146. 000027A0  5346                     subq.w     D6, 1
  4147. 000027A2  B646                     cmp.w      D3, D6
  4148. 000027A4  6DD4                     blt        -0x2A /* 0000277A */
  4149. label000027A6:
  4150. 000027A6  26AE FFFC                move.l     [A3], [A6 - 0x4]
  4151. 000027AA  43EE FFFB                lea.l      A1, [A6 - 0x5]
  4152. 000027AE  2049                     movea.l    A0, A1
  4153. 000027B0  1010                     move.b     D0, [A0]
  4154. 000027B2  A05D                     syscall    SwapMMUMode
  4155. 000027B4  1080                     move.b     [A0], D0
  4156. 000027B6  303C E08E                move.w     D0, 0xE08E
  4157. 000027BA  6000 05D2                bra        +0x5D4 /* 00002D8E */
  4158. label000027BE:
  4159. 000027BE  0045 0002                ori.w      D5, 0x2
  4160. 000027C2  3C3C 0BB8                move.w     D6, 0xBB8
  4161. 000027C6  7600                     moveq.l    D3, 0x00
  4162. label000027C8:
  4163. 000027C8  7000                     moveq.l    D0, 0x00
  4164. 000027CA  1014                     move.b     D0, [A4]
  4165. 000027CC  4A80                     tst.l      D0
  4166. 000027CE  7202                     moveq.l    D1, 0x02
  4167. 000027D0  C200                     and.b      D1, D0
  4168. 000027D2  7000                     moveq.l    D0, 0x00
  4169. 000027D4  1001                     move.b     D0, D1
  4170. 000027D6  4A80                     tst.l      D0
  4171. 000027D8  7202                     moveq.l    D1, 0x02
  4172. 000027DA  C245                     and.w      D1, D5
  4173. 000027DC  7400                     moveq.l    D2, 0x00
  4174. 000027DE  3401                     move.w     D2, D1
  4175. 000027E0  4A82                     tst.l      D2
  4176. 000027E2  B480                     cmp.l      D2, D0
  4177. 000027E4  670E                     beq        +0x10 /* 000027F4 */
  4178. 000027E6  1885                     move.b     [A4], D5
  4179. 000027E8  6002                     bra        +0x4 /* 000027EC */
  4180. 000027EA  6008                     bra        +0xA /* 000027F4 */
  4181. label000027EC:
  4182. 000027EC  3006                     move.w     D0, D6
  4183. 000027EE  5346                     subq.w     D6, 1
  4184. 000027F0  B646                     cmp.w      D3, D6
  4185. 000027F2  6DD4                     blt        -0x2A /* 000027C8 */
  4186. label000027F4:
  4187. 000027F4  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4188. 000027F8  5347                     subq.w     D7, 1
  4189. 000027FA  4A47                     tst.w      D7
  4190. 000027FC  6D04                     blt        +0x6 /* 00002802 */
  4191. label000027FE:
  4192. 000027FE  51CF FFFE                dbf        D7, -0x4 /* 000027FE */
  4193. label00002802:
  4194. 00002802  3D6E 000E FFEC           move.w     [A6 - 0x14], [A6 + 0xE]
  4195. 00002808  3D7C 0007 FFEE           move.w     [A6 - 0x12], 0x7
  4196. 0000280E  7600                     moveq.l    D3, 0x00
  4197. label00002810:
  4198. 00002810  0245 FFFD                andi.w     D5, 0xFFFD
  4199. 00002814  3C3C 0BB8                move.w     D6, 0xBB8
  4200. label00002818:
  4201. 00002818  7000                     moveq.l    D0, 0x00
  4202. 0000281A  1014                     move.b     D0, [A4]
  4203. 0000281C  4A80                     tst.l      D0
  4204. 0000281E  7202                     moveq.l    D1, 0x02
  4205. 00002820  C200                     and.b      D1, D0
  4206. 00002822  7000                     moveq.l    D0, 0x00
  4207. 00002824  1001                     move.b     D0, D1
  4208. 00002826  4A80                     tst.l      D0
  4209. 00002828  7202                     moveq.l    D1, 0x02
  4210. 0000282A  C245                     and.w      D1, D5
  4211. 0000282C  7400                     moveq.l    D2, 0x00
  4212. 0000282E  3401                     move.w     D2, D1
  4213. 00002830  4A82                     tst.l      D2
  4214. 00002832  B480                     cmp.l      D2, D0
  4215. 00002834  670E                     beq        +0x10 /* 00002844 */
  4216. 00002836  1885                     move.b     [A4], D5
  4217. 00002838  6002                     bra        +0x4 /* 0000283C */
  4218. 0000283A  6008                     bra        +0xA /* 00002844 */
  4219. label0000283C:
  4220. 0000283C  3006                     move.w     D0, D6
  4221. 0000283E  5346                     subq.w     D6, 1
  4222. 00002840  B646                     cmp.w      D3, D6
  4223. 00002842  6DD4                     blt        -0x2A /* 00002818 */
  4224. label00002844:
  4225. 00002844  302E FFEE                move.w     D0, [A6 - 0x12]
  4226. 00002848  322E FFEC                move.w     D1, [A6 - 0x14]
  4227. 0000284C  E061                     asr        D1.w, D0
  4228. 0000284E  0801 0000                btst.b     D1, 0x0
  4229. 00002852  6706                     beq        +0x8 /* 0000285A */
  4230. 00002854  0045 0001                ori.w      D5, 0x1
  4231. 00002858  6004                     bra        +0x6 /* 0000285E */
  4232. label0000285A:
  4233. 0000285A  0885 0000                bclr.b     D5, 0x0
  4234. label0000285E:
  4235. 0000285E  1885                     move.b     [A4], D5
  4236. 00002860  3E04                     move.w     D7, D4
  4237. 00002862  5347                     subq.w     D7, 1
  4238. 00002864  4A47                     tst.w      D7
  4239. 00002866  6D04                     blt        +0x6 /* 0000286C */
  4240. label00002868:
  4241. 00002868  51CF FFFE                dbf        D7, -0x4 /* 00002868 */
  4242. label0000286C:
  4243. 0000286C  0045 0002                ori.w      D5, 0x2
  4244. 00002870  3C3C 0BB8                move.w     D6, 0xBB8
  4245. label00002874:
  4246. 00002874  7000                     moveq.l    D0, 0x00
  4247. 00002876  1014                     move.b     D0, [A4]
  4248. 00002878  4A80                     tst.l      D0
  4249. 0000287A  7202                     moveq.l    D1, 0x02
  4250. 0000287C  C200                     and.b      D1, D0
  4251. 0000287E  7000                     moveq.l    D0, 0x00
  4252. 00002880  1001                     move.b     D0, D1
  4253. 00002882  4A80                     tst.l      D0
  4254. 00002884  7202                     moveq.l    D1, 0x02
  4255. 00002886  C245                     and.w      D1, D5
  4256. 00002888  7400                     moveq.l    D2, 0x00
  4257. 0000288A  3401                     move.w     D2, D1
  4258. 0000288C  4A82                     tst.l      D2
  4259. 0000288E  B480                     cmp.l      D2, D0
  4260. 00002890  670E                     beq        +0x10 /* 000028A0 */
  4261. 00002892  1885                     move.b     [A4], D5
  4262. 00002894  6002                     bra        +0x4 /* 00002898 */
  4263. 00002896  6008                     bra        +0xA /* 000028A0 */
  4264. label00002898:
  4265. 00002898  3006                     move.w     D0, D6
  4266. 0000289A  5346                     subq.w     D6, 1
  4267. 0000289C  B646                     cmp.w      D3, D6
  4268. 0000289E  6DD4                     blt        -0x2A /* 00002874 */
  4269. label000028A0:
  4270. 000028A0  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4271. 000028A4  5347                     subq.w     D7, 1
  4272. 000028A6  4A47                     tst.w      D7
  4273. 000028A8  6D04                     blt        +0x6 /* 000028AE */
  4274. label000028AA:
  4275. 000028AA  51CF FFFE                dbf        D7, -0x4 /* 000028AA */
  4276. label000028AE:
  4277. 000028AE  302E FFEE                move.w     D0, [A6 - 0x12]
  4278. 000028B2  536E FFEE                subq.w     [A6 - 0x12], 1
  4279. 000028B6  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  4280. 000028BA  6F00 FF54                ble        -0xAA /* 00002810 */
  4281. 000028BE  0245 FFFD                andi.w     D5, 0xFFFD
  4282. 000028C2  3C3C 0BB8                move.w     D6, 0xBB8
  4283. 000028C6  7600                     moveq.l    D3, 0x00
  4284. label000028C8:
  4285. 000028C8  7000                     moveq.l    D0, 0x00
  4286. 000028CA  1014                     move.b     D0, [A4]
  4287. 000028CC  4A80                     tst.l      D0
  4288. 000028CE  7202                     moveq.l    D1, 0x02
  4289. 000028D0  C200                     and.b      D1, D0
  4290. 000028D2  7000                     moveq.l    D0, 0x00
  4291. 000028D4  1001                     move.b     D0, D1
  4292. 000028D6  4A80                     tst.l      D0
  4293. 000028D8  7202                     moveq.l    D1, 0x02
  4294. 000028DA  C245                     and.w      D1, D5
  4295. 000028DC  7400                     moveq.l    D2, 0x00
  4296. 000028DE  3401                     move.w     D2, D1
  4297. 000028E0  4A82                     tst.l      D2
  4298. 000028E2  B480                     cmp.l      D2, D0
  4299. 000028E4  670E                     beq        +0x10 /* 000028F4 */
  4300. 000028E6  1885                     move.b     [A4], D5
  4301. 000028E8  6002                     bra        +0x4 /* 000028EC */
  4302. 000028EA  6008                     bra        +0xA /* 000028F4 */
  4303. label000028EC:
  4304. 000028EC  3006                     move.w     D0, D6
  4305. 000028EE  5346                     subq.w     D6, 1
  4306. 000028F0  B646                     cmp.w      D3, D6
  4307. 000028F2  6DD4                     blt        -0x2A /* 000028C8 */
  4308. label000028F4:
  4309. 000028F4  0045 0001                ori.w      D5, 0x1
  4310. 000028F8  1885                     move.b     [A4], D5
  4311. 000028FA  3D7C 0BB8 FFEA           move.w     [A6 - 0x16], 0xBB8
  4312. 00002900  7600                     moveq.l    D3, 0x00
  4313. label00002902:
  4314. 00002902  3E04                     move.w     D7, D4
  4315. 00002904  5347                     subq.w     D7, 1
  4316. 00002906  4A47                     tst.w      D7
  4317. 00002908  6D04                     blt        +0x6 /* 0000290E */
  4318. label0000290A:
  4319. 0000290A  51CF FFFE                dbf        D7, -0x4 /* 0000290A */
  4320. label0000290E:
  4321. 0000290E  7000                     moveq.l    D0, 0x00
  4322. 00002910  1014                     move.b     D0, [A4]
  4323. 00002912  4A80                     tst.l      D0
  4324. 00002914  7201                     moveq.l    D1, 0x01
  4325. 00002916  C200                     and.b      D1, D0
  4326. 00002918  7000                     moveq.l    D0, 0x00
  4327. 0000291A  1001                     move.b     D0, D1
  4328. 0000291C  4A80                     tst.l      D0
  4329. 0000291E  670E                     beq        +0x10 /* 0000292E */
  4330. 00002920  302E FFEA                move.w     D0, [A6 - 0x16]
  4331. 00002924  536E FFEA                subq.w     [A6 - 0x16], 1
  4332. 00002928  B66E FFEA                cmp.w      D3, [A6 - 0x16]
  4333. 0000292C  6DD4                     blt        -0x2A /* 00002902 */
  4334. label0000292E:
  4335. 0000292E  4A6E FFEA                tst.w      [A6 - 0x16]
  4336. 00002932  664E                     bne        +0x50 /* 00002982 */
  4337. 00002934  0045 0002                ori.w      D5, 0x2
  4338. 00002938  3C3C 0BB8                move.w     D6, 0xBB8
  4339. 0000293C  7600                     moveq.l    D3, 0x00
  4340. label0000293E:
  4341. 0000293E  7000                     moveq.l    D0, 0x00
  4342. 00002940  1014                     move.b     D0, [A4]
  4343. 00002942  4A80                     tst.l      D0
  4344. 00002944  7202                     moveq.l    D1, 0x02
  4345. 00002946  C200                     and.b      D1, D0
  4346. 00002948  7000                     moveq.l    D0, 0x00
  4347. 0000294A  1001                     move.b     D0, D1
  4348. 0000294C  4A80                     tst.l      D0
  4349. 0000294E  7202                     moveq.l    D1, 0x02
  4350. 00002950  C245                     and.w      D1, D5
  4351. 00002952  7400                     moveq.l    D2, 0x00
  4352. 00002954  3401                     move.w     D2, D1
  4353. 00002956  4A82                     tst.l      D2
  4354. 00002958  B480                     cmp.l      D2, D0
  4355. 0000295A  670E                     beq        +0x10 /* 0000296A */
  4356. 0000295C  1885                     move.b     [A4], D5
  4357. 0000295E  6002                     bra        +0x4 /* 00002962 */
  4358. 00002960  6008                     bra        +0xA /* 0000296A */
  4359. label00002962:
  4360. 00002962  3006                     move.w     D0, D6
  4361. 00002964  5346                     subq.w     D6, 1
  4362. 00002966  B646                     cmp.w      D3, D6
  4363. 00002968  6DD4                     blt        -0x2A /* 0000293E */
  4364. label0000296A:
  4365. 0000296A  26AE FFFC                move.l     [A3], [A6 - 0x4]
  4366. 0000296E  43EE FFFB                lea.l      A1, [A6 - 0x5]
  4367. 00002972  2049                     movea.l    A0, A1
  4368. 00002974  1010                     move.b     D0, [A0]
  4369. 00002976  A05D                     syscall    SwapMMUMode
  4370. 00002978  1080                     move.b     [A0], D0
  4371. 0000297A  303C E08E                move.w     D0, 0xE08E
  4372. 0000297E  6000 040E                bra        +0x410 /* 00002D8E */
  4373. label00002982:
  4374. 00002982  0045 0002                ori.w      D5, 0x2
  4375. 00002986  3C3C 0BB8                move.w     D6, 0xBB8
  4376. 0000298A  7600                     moveq.l    D3, 0x00
  4377. label0000298C:
  4378. 0000298C  7000                     moveq.l    D0, 0x00
  4379. 0000298E  1014                     move.b     D0, [A4]
  4380. 00002990  4A80                     tst.l      D0
  4381. 00002992  7202                     moveq.l    D1, 0x02
  4382. 00002994  C200                     and.b      D1, D0
  4383. 00002996  7000                     moveq.l    D0, 0x00
  4384. 00002998  1001                     move.b     D0, D1
  4385. 0000299A  4A80                     tst.l      D0
  4386. 0000299C  7202                     moveq.l    D1, 0x02
  4387. 0000299E  C245                     and.w      D1, D5
  4388. 000029A0  7400                     moveq.l    D2, 0x00
  4389. 000029A2  3401                     move.w     D2, D1
  4390. 000029A4  4A82                     tst.l      D2
  4391. 000029A6  B480                     cmp.l      D2, D0
  4392. 000029A8  670E                     beq        +0x10 /* 000029B8 */
  4393. 000029AA  1885                     move.b     [A4], D5
  4394. 000029AC  6002                     bra        +0x4 /* 000029B0 */
  4395. 000029AE  6008                     bra        +0xA /* 000029B8 */
  4396. label000029B0:
  4397. 000029B0  3006                     move.w     D0, D6
  4398. 000029B2  5346                     subq.w     D6, 1
  4399. 000029B4  B646                     cmp.w      D3, D6
  4400. 000029B6  6DD4                     blt        -0x2A /* 0000298C */
  4401. label000029B8:
  4402. 000029B8  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4403. 000029BC  5347                     subq.w     D7, 1
  4404. 000029BE  4A47                     tst.w      D7
  4405. 000029C0  6D04                     blt        +0x6 /* 000029C6 */
  4406. label000029C2:
  4407. 000029C2  51CF FFFE                dbf        D7, -0x4 /* 000029C2 */
  4408. label000029C6:
  4409. 000029C6  0245 FFFD                andi.w     D5, 0xFFFD
  4410. 000029CA  3C3C 0BB8                move.w     D6, 0xBB8
  4411. 000029CE  7600                     moveq.l    D3, 0x00
  4412. label000029D0:
  4413. 000029D0  7000                     moveq.l    D0, 0x00
  4414. 000029D2  1014                     move.b     D0, [A4]
  4415. 000029D4  4A80                     tst.l      D0
  4416. 000029D6  7202                     moveq.l    D1, 0x02
  4417. 000029D8  C200                     and.b      D1, D0
  4418. 000029DA  7000                     moveq.l    D0, 0x00
  4419. 000029DC  1001                     move.b     D0, D1
  4420. 000029DE  4A80                     tst.l      D0
  4421. 000029E0  7202                     moveq.l    D1, 0x02
  4422. 000029E2  C245                     and.w      D1, D5
  4423. 000029E4  7400                     moveq.l    D2, 0x00
  4424. 000029E6  3401                     move.w     D2, D1
  4425. 000029E8  4A82                     tst.l      D2
  4426. 000029EA  B480                     cmp.l      D2, D0
  4427. 000029EC  670E                     beq        +0x10 /* 000029FC */
  4428. 000029EE  1885                     move.b     [A4], D5
  4429. 000029F0  6002                     bra        +0x4 /* 000029F4 */
  4430. 000029F2  6008                     bra        +0xA /* 000029FC */
  4431. label000029F4:
  4432. 000029F4  3006                     move.w     D0, D6
  4433. 000029F6  5346                     subq.w     D6, 1
  4434. 000029F8  B646                     cmp.w      D3, D6
  4435. 000029FA  6DD4                     blt        -0x2A /* 000029D0 */
  4436. label000029FC:
  4437. 000029FC  3E04                     move.w     D7, D4
  4438. 000029FE  5347                     subq.w     D7, 1
  4439. 00002A00  4A47                     tst.w      D7
  4440. 00002A02  6D04                     blt        +0x6 /* 00002A08 */
  4441. label00002A04:
  4442. 00002A04  51CF FFFE                dbf        D7, -0x4 /* 00002A04 */
  4443. label00002A08:
  4444. 00002A08  0045 0002                ori.w      D5, 0x2
  4445. 00002A0C  3C3C 0BB8                move.w     D6, 0xBB8
  4446. 00002A10  7600                     moveq.l    D3, 0x00
  4447. label00002A12:
  4448. 00002A12  7000                     moveq.l    D0, 0x00
  4449. 00002A14  1014                     move.b     D0, [A4]
  4450. 00002A16  4A80                     tst.l      D0
  4451. 00002A18  7202                     moveq.l    D1, 0x02
  4452. 00002A1A  C200                     and.b      D1, D0
  4453. 00002A1C  7000                     moveq.l    D0, 0x00
  4454. 00002A1E  1001                     move.b     D0, D1
  4455. 00002A20  4A80                     tst.l      D0
  4456. 00002A22  7202                     moveq.l    D1, 0x02
  4457. 00002A24  C245                     and.w      D1, D5
  4458. 00002A26  7400                     moveq.l    D2, 0x00
  4459. 00002A28  3401                     move.w     D2, D1
  4460. 00002A2A  4A82                     tst.l      D2
  4461. 00002A2C  B480                     cmp.l      D2, D0
  4462. 00002A2E  670E                     beq        +0x10 /* 00002A3E */
  4463. 00002A30  1885                     move.b     [A4], D5
  4464. 00002A32  6002                     bra        +0x4 /* 00002A36 */
  4465. 00002A34  6008                     bra        +0xA /* 00002A3E */
  4466. label00002A36:
  4467. 00002A36  3006                     move.w     D0, D6
  4468. 00002A38  5346                     subq.w     D6, 1
  4469. 00002A3A  B646                     cmp.w      D3, D6
  4470. 00002A3C  6DD4                     blt        -0x2A /* 00002A12 */
  4471. label00002A3E:
  4472. 00002A3E  3E04                     move.w     D7, D4
  4473. 00002A40  5347                     subq.w     D7, 1
  4474. 00002A42  4A47                     tst.w      D7
  4475. 00002A44  6D04                     blt        +0x6 /* 00002A4A */
  4476. label00002A46:
  4477. 00002A46  51CF FFFE                dbf        D7, -0x4 /* 00002A46 */
  4478. label00002A4A:
  4479. 00002A4A  0885 0000                bclr.b     D5, 0x0
  4480. 00002A4E  1885                     move.b     [A4], D5
  4481. 00002A50  3E04                     move.w     D7, D4
  4482. 00002A52  5347                     subq.w     D7, 1
  4483. 00002A54  4A47                     tst.w      D7
  4484. 00002A56  6D04                     blt        +0x6 /* 00002A5C */
  4485. label00002A58:
  4486. 00002A58  51CF FFFE                dbf        D7, -0x4 /* 00002A58 */
  4487. label00002A5C:
  4488. 00002A5C  303C 00FE                move.w     D0, 0xFE
  4489. 00002A60  C06E 000A                and.w      D0, [A6 + 0xA]
  4490. 00002A64  3D40 FFEC                move.w     [A6 - 0x14], D0
  4491. 00002A68  526E FFEC                addq.w     [A6 - 0x14], 1
  4492. 00002A6C  3D7C 0007 FFEE           move.w     [A6 - 0x12], 0x7
  4493. 00002A72  7600                     moveq.l    D3, 0x00
  4494. label00002A74:
  4495. 00002A74  0245 FFFD                andi.w     D5, 0xFFFD
  4496. 00002A78  3C3C 0BB8                move.w     D6, 0xBB8
  4497. label00002A7C:
  4498. 00002A7C  7000                     moveq.l    D0, 0x00
  4499. 00002A7E  1014                     move.b     D0, [A4]
  4500. 00002A80  4A80                     tst.l      D0
  4501. 00002A82  7202                     moveq.l    D1, 0x02
  4502. 00002A84  C200                     and.b      D1, D0
  4503. 00002A86  7000                     moveq.l    D0, 0x00
  4504. 00002A88  1001                     move.b     D0, D1
  4505. 00002A8A  4A80                     tst.l      D0
  4506. 00002A8C  7202                     moveq.l    D1, 0x02
  4507. 00002A8E  C245                     and.w      D1, D5
  4508. 00002A90  7400                     moveq.l    D2, 0x00
  4509. 00002A92  3401                     move.w     D2, D1
  4510. 00002A94  4A82                     tst.l      D2
  4511. 00002A96  B480                     cmp.l      D2, D0
  4512. 00002A98  670E                     beq        +0x10 /* 00002AA8 */
  4513. 00002A9A  1885                     move.b     [A4], D5
  4514. 00002A9C  6002                     bra        +0x4 /* 00002AA0 */
  4515. 00002A9E  6008                     bra        +0xA /* 00002AA8 */
  4516. label00002AA0:
  4517. 00002AA0  3006                     move.w     D0, D6
  4518. 00002AA2  5346                     subq.w     D6, 1
  4519. 00002AA4  B646                     cmp.w      D3, D6
  4520. 00002AA6  6DD4                     blt        -0x2A /* 00002A7C */
  4521. label00002AA8:
  4522. 00002AA8  302E FFEE                move.w     D0, [A6 - 0x12]
  4523. 00002AAC  322E FFEC                move.w     D1, [A6 - 0x14]
  4524. 00002AB0  E061                     asr        D1.w, D0
  4525. 00002AB2  0801 0000                btst.b     D1, 0x0
  4526. 00002AB6  6706                     beq        +0x8 /* 00002ABE */
  4527. 00002AB8  0045 0001                ori.w      D5, 0x1
  4528. 00002ABC  6004                     bra        +0x6 /* 00002AC2 */
  4529. label00002ABE:
  4530. 00002ABE  0885 0000                bclr.b     D5, 0x0
  4531. label00002AC2:
  4532. 00002AC2  1885                     move.b     [A4], D5
  4533. 00002AC4  3E04                     move.w     D7, D4
  4534. 00002AC6  5347                     subq.w     D7, 1
  4535. 00002AC8  4A47                     tst.w      D7
  4536. 00002ACA  6D04                     blt        +0x6 /* 00002AD0 */
  4537. label00002ACC:
  4538. 00002ACC  51CF FFFE                dbf        D7, -0x4 /* 00002ACC */
  4539. label00002AD0:
  4540. 00002AD0  0045 0002                ori.w      D5, 0x2
  4541. 00002AD4  3C3C 0BB8                move.w     D6, 0xBB8
  4542. label00002AD8:
  4543. 00002AD8  7000                     moveq.l    D0, 0x00
  4544. 00002ADA  1014                     move.b     D0, [A4]
  4545. 00002ADC  4A80                     tst.l      D0
  4546. 00002ADE  7202                     moveq.l    D1, 0x02
  4547. 00002AE0  C200                     and.b      D1, D0
  4548. 00002AE2  7000                     moveq.l    D0, 0x00
  4549. 00002AE4  1001                     move.b     D0, D1
  4550. 00002AE6  4A80                     tst.l      D0
  4551. 00002AE8  7202                     moveq.l    D1, 0x02
  4552. 00002AEA  C245                     and.w      D1, D5
  4553. 00002AEC  7400                     moveq.l    D2, 0x00
  4554. 00002AEE  3401                     move.w     D2, D1
  4555. 00002AF0  4A82                     tst.l      D2
  4556. 00002AF2  B480                     cmp.l      D2, D0
  4557. 00002AF4  670E                     beq        +0x10 /* 00002B04 */
  4558. 00002AF6  1885                     move.b     [A4], D5
  4559. 00002AF8  6002                     bra        +0x4 /* 00002AFC */
  4560. 00002AFA  6008                     bra        +0xA /* 00002B04 */
  4561. label00002AFC:
  4562. 00002AFC  3006                     move.w     D0, D6
  4563. 00002AFE  5346                     subq.w     D6, 1
  4564. 00002B00  B646                     cmp.w      D3, D6
  4565. 00002B02  6DD4                     blt        -0x2A /* 00002AD8 */
  4566. label00002B04:
  4567. 00002B04  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4568. 00002B08  5347                     subq.w     D7, 1
  4569. 00002B0A  4A47                     tst.w      D7
  4570. 00002B0C  6D04                     blt        +0x6 /* 00002B12 */
  4571. label00002B0E:
  4572. 00002B0E  51CF FFFE                dbf        D7, -0x4 /* 00002B0E */
  4573. label00002B12:
  4574. 00002B12  302E FFEE                move.w     D0, [A6 - 0x12]
  4575. 00002B16  536E FFEE                subq.w     [A6 - 0x12], 1
  4576. 00002B1A  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  4577. 00002B1E  6F00 FF54                ble        -0xAA /* 00002A74 */
  4578. 00002B22  0245 FFFD                andi.w     D5, 0xFFFD
  4579. 00002B26  3C3C 0BB8                move.w     D6, 0xBB8
  4580. 00002B2A  7600                     moveq.l    D3, 0x00
  4581. label00002B2C:
  4582. 00002B2C  7000                     moveq.l    D0, 0x00
  4583. 00002B2E  1014                     move.b     D0, [A4]
  4584. 00002B30  4A80                     tst.l      D0
  4585. 00002B32  7202                     moveq.l    D1, 0x02
  4586. 00002B34  C200                     and.b      D1, D0
  4587. 00002B36  7000                     moveq.l    D0, 0x00
  4588. 00002B38  1001                     move.b     D0, D1
  4589. 00002B3A  4A80                     tst.l      D0
  4590. 00002B3C  7202                     moveq.l    D1, 0x02
  4591. 00002B3E  C245                     and.w      D1, D5
  4592. 00002B40  7400                     moveq.l    D2, 0x00
  4593. 00002B42  3401                     move.w     D2, D1
  4594. 00002B44  4A82                     tst.l      D2
  4595. 00002B46  B480                     cmp.l      D2, D0
  4596. 00002B48  670E                     beq        +0x10 /* 00002B58 */
  4597. 00002B4A  1885                     move.b     [A4], D5
  4598. 00002B4C  6002                     bra        +0x4 /* 00002B50 */
  4599. 00002B4E  6008                     bra        +0xA /* 00002B58 */
  4600. label00002B50:
  4601. 00002B50  3006                     move.w     D0, D6
  4602. 00002B52  5346                     subq.w     D6, 1
  4603. 00002B54  B646                     cmp.w      D3, D6
  4604. 00002B56  6DD4                     blt        -0x2A /* 00002B2C */
  4605. label00002B58:
  4606. 00002B58  0045 0001                ori.w      D5, 0x1
  4607. 00002B5C  1885                     move.b     [A4], D5
  4608. 00002B5E  3D7C 0BB8 FFEA           move.w     [A6 - 0x16], 0xBB8
  4609. 00002B64  7600                     moveq.l    D3, 0x00
  4610. label00002B66:
  4611. 00002B66  3E04                     move.w     D7, D4
  4612. 00002B68  5347                     subq.w     D7, 1
  4613. 00002B6A  4A47                     tst.w      D7
  4614. 00002B6C  6D04                     blt        +0x6 /* 00002B72 */
  4615. label00002B6E:
  4616. 00002B6E  51CF FFFE                dbf        D7, -0x4 /* 00002B6E */
  4617. label00002B72:
  4618. 00002B72  7000                     moveq.l    D0, 0x00
  4619. 00002B74  1014                     move.b     D0, [A4]
  4620. 00002B76  4A80                     tst.l      D0
  4621. 00002B78  7201                     moveq.l    D1, 0x01
  4622. 00002B7A  C200                     and.b      D1, D0
  4623. 00002B7C  7000                     moveq.l    D0, 0x00
  4624. 00002B7E  1001                     move.b     D0, D1
  4625. 00002B80  4A80                     tst.l      D0
  4626. 00002B82  670E                     beq        +0x10 /* 00002B92 */
  4627. 00002B84  302E FFEA                move.w     D0, [A6 - 0x16]
  4628. 00002B88  536E FFEA                subq.w     [A6 - 0x16], 1
  4629. 00002B8C  B66E FFEA                cmp.w      D3, [A6 - 0x16]
  4630. 00002B90  6DD4                     blt        -0x2A /* 00002B66 */
  4631. label00002B92:
  4632. 00002B92  4A6E FFEA                tst.w      [A6 - 0x16]
  4633. 00002B96  664E                     bne        +0x50 /* 00002BE6 */
  4634. 00002B98  0045 0002                ori.w      D5, 0x2
  4635. 00002B9C  3C3C 0BB8                move.w     D6, 0xBB8
  4636. 00002BA0  7600                     moveq.l    D3, 0x00
  4637. label00002BA2:
  4638. 00002BA2  7000                     moveq.l    D0, 0x00
  4639. 00002BA4  1014                     move.b     D0, [A4]
  4640. 00002BA6  4A80                     tst.l      D0
  4641. 00002BA8  7202                     moveq.l    D1, 0x02
  4642. 00002BAA  C200                     and.b      D1, D0
  4643. 00002BAC  7000                     moveq.l    D0, 0x00
  4644. 00002BAE  1001                     move.b     D0, D1
  4645. 00002BB0  4A80                     tst.l      D0
  4646. 00002BB2  7202                     moveq.l    D1, 0x02
  4647. 00002BB4  C245                     and.w      D1, D5
  4648. 00002BB6  7400                     moveq.l    D2, 0x00
  4649. 00002BB8  3401                     move.w     D2, D1
  4650. 00002BBA  4A82                     tst.l      D2
  4651. 00002BBC  B480                     cmp.l      D2, D0
  4652. 00002BBE  670E                     beq        +0x10 /* 00002BCE */
  4653. 00002BC0  1885                     move.b     [A4], D5
  4654. 00002BC2  6002                     bra        +0x4 /* 00002BC6 */
  4655. 00002BC4  6008                     bra        +0xA /* 00002BCE */
  4656. label00002BC6:
  4657. 00002BC6  3006                     move.w     D0, D6
  4658. 00002BC8  5346                     subq.w     D6, 1
  4659. 00002BCA  B646                     cmp.w      D3, D6
  4660. 00002BCC  6DD4                     blt        -0x2A /* 00002BA2 */
  4661. label00002BCE:
  4662. 00002BCE  26AE FFFC                move.l     [A3], [A6 - 0x4]
  4663. 00002BD2  43EE FFFB                lea.l      A1, [A6 - 0x5]
  4664. 00002BD6  2049                     movea.l    A0, A1
  4665. 00002BD8  1010                     move.b     D0, [A0]
  4666. 00002BDA  A05D                     syscall    SwapMMUMode
  4667. 00002BDC  1080                     move.b     [A0], D0
  4668. 00002BDE  303C E08E                move.w     D0, 0xE08E
  4669. 00002BE2  6000 01AA                bra        +0x1AC /* 00002D8E */
  4670. label00002BE6:
  4671. 00002BE6  0045 0002                ori.w      D5, 0x2
  4672. 00002BEA  3C3C 0BB8                move.w     D6, 0xBB8
  4673. 00002BEE  7600                     moveq.l    D3, 0x00
  4674. label00002BF0:
  4675. 00002BF0  7000                     moveq.l    D0, 0x00
  4676. 00002BF2  1014                     move.b     D0, [A4]
  4677. 00002BF4  4A80                     tst.l      D0
  4678. 00002BF6  7202                     moveq.l    D1, 0x02
  4679. 00002BF8  C200                     and.b      D1, D0
  4680. 00002BFA  7000                     moveq.l    D0, 0x00
  4681. 00002BFC  1001                     move.b     D0, D1
  4682. 00002BFE  4A80                     tst.l      D0
  4683. 00002C00  7202                     moveq.l    D1, 0x02
  4684. 00002C02  C245                     and.w      D1, D5
  4685. 00002C04  7400                     moveq.l    D2, 0x00
  4686. 00002C06  3401                     move.w     D2, D1
  4687. 00002C08  4A82                     tst.l      D2
  4688. 00002C0A  B480                     cmp.l      D2, D0
  4689. 00002C0C  670E                     beq        +0x10 /* 00002C1C */
  4690. 00002C0E  1885                     move.b     [A4], D5
  4691. 00002C10  6002                     bra        +0x4 /* 00002C14 */
  4692. 00002C12  6008                     bra        +0xA /* 00002C1C */
  4693. label00002C14:
  4694. 00002C14  3006                     move.w     D0, D6
  4695. 00002C16  5346                     subq.w     D6, 1
  4696. 00002C18  B646                     cmp.w      D3, D6
  4697. 00002C1A  6DD4                     blt        -0x2A /* 00002BF0 */
  4698. label00002C1C:
  4699. 00002C1C  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4700. 00002C20  5347                     subq.w     D7, 1
  4701. 00002C22  4A47                     tst.w      D7
  4702. 00002C24  6D04                     blt        +0x6 /* 00002C2A */
  4703. label00002C26:
  4704. 00002C26  51CF FFFE                dbf        D7, -0x4 /* 00002C26 */
  4705. label00002C2A:
  4706. 00002C2A  426E FFEC                clr.w      [A6 - 0x14]
  4707. 00002C2E  3D7C 0007 FFEE           move.w     [A6 - 0x12], 0x7
  4708. 00002C34  7600                     moveq.l    D3, 0x00
  4709. label00002C36:
  4710. 00002C36  0245 FFFD                andi.w     D5, 0xFFFD
  4711. 00002C3A  3C3C 0BB8                move.w     D6, 0xBB8
  4712. label00002C3E:
  4713. 00002C3E  7000                     moveq.l    D0, 0x00
  4714. 00002C40  1014                     move.b     D0, [A4]
  4715. 00002C42  4A80                     tst.l      D0
  4716. 00002C44  7202                     moveq.l    D1, 0x02
  4717. 00002C46  C200                     and.b      D1, D0
  4718. 00002C48  7000                     moveq.l    D0, 0x00
  4719. 00002C4A  1001                     move.b     D0, D1
  4720. 00002C4C  4A80                     tst.l      D0
  4721. 00002C4E  7202                     moveq.l    D1, 0x02
  4722. 00002C50  C245                     and.w      D1, D5
  4723. 00002C52  7400                     moveq.l    D2, 0x00
  4724. 00002C54  3401                     move.w     D2, D1
  4725. 00002C56  4A82                     tst.l      D2
  4726. 00002C58  B480                     cmp.l      D2, D0
  4727. 00002C5A  670E                     beq        +0x10 /* 00002C6A */
  4728. 00002C5C  1885                     move.b     [A4], D5
  4729. 00002C5E  6002                     bra        +0x4 /* 00002C62 */
  4730. 00002C60  6008                     bra        +0xA /* 00002C6A */
  4731. label00002C62:
  4732. 00002C62  3006                     move.w     D0, D6
  4733. 00002C64  5346                     subq.w     D6, 1
  4734. 00002C66  B646                     cmp.w      D3, D6
  4735. 00002C68  6DD4                     blt        -0x2A /* 00002C3E */
  4736. label00002C6A:
  4737. 00002C6A  3E04                     move.w     D7, D4
  4738. 00002C6C  5347                     subq.w     D7, 1
  4739. 00002C6E  4A47                     tst.w      D7
  4740. 00002C70  6D04                     blt        +0x6 /* 00002C76 */
  4741. label00002C72:
  4742. 00002C72  51CF FFFE                dbf        D7, -0x4 /* 00002C72 */
  4743. label00002C76:
  4744. 00002C76  0045 0002                ori.w      D5, 0x2
  4745. 00002C7A  3C3C 0BB8                move.w     D6, 0xBB8
  4746. label00002C7E:
  4747. 00002C7E  7000                     moveq.l    D0, 0x00
  4748. 00002C80  1014                     move.b     D0, [A4]
  4749. 00002C82  4A80                     tst.l      D0
  4750. 00002C84  7202                     moveq.l    D1, 0x02
  4751. 00002C86  C200                     and.b      D1, D0
  4752. 00002C88  7000                     moveq.l    D0, 0x00
  4753. 00002C8A  1001                     move.b     D0, D1
  4754. 00002C8C  4A80                     tst.l      D0
  4755. 00002C8E  7202                     moveq.l    D1, 0x02
  4756. 00002C90  C245                     and.w      D1, D5
  4757. 00002C92  7400                     moveq.l    D2, 0x00
  4758. 00002C94  3401                     move.w     D2, D1
  4759. 00002C96  4A82                     tst.l      D2
  4760. 00002C98  B480                     cmp.l      D2, D0
  4761. 00002C9A  670E                     beq        +0x10 /* 00002CAA */
  4762. 00002C9C  1885                     move.b     [A4], D5
  4763. 00002C9E  6002                     bra        +0x4 /* 00002CA2 */
  4764. 00002CA0  6008                     bra        +0xA /* 00002CAA */
  4765. label00002CA2:
  4766. 00002CA2  3006                     move.w     D0, D6
  4767. 00002CA4  5346                     subq.w     D6, 1
  4768. 00002CA6  B646                     cmp.w      D3, D6
  4769. 00002CA8  6DD4                     blt        -0x2A /* 00002C7E */
  4770. label00002CAA:
  4771. 00002CAA  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4772. 00002CAE  5347                     subq.w     D7, 1
  4773. 00002CB0  4A47                     tst.w      D7
  4774. 00002CB2  6D04                     blt        +0x6 /* 00002CB8 */
  4775. label00002CB4:
  4776. 00002CB4  51CF FFFE                dbf        D7, -0x4 /* 00002CB4 */
  4777. label00002CB8:
  4778. 00002CB8  7000                     moveq.l    D0, 0x00
  4779. 00002CBA  1014                     move.b     D0, [A4]
  4780. 00002CBC  4A80                     tst.l      D0
  4781. 00002CBE  7201                     moveq.l    D1, 0x01
  4782. 00002CC0  C200                     and.b      D1, D0
  4783. 00002CC2  6704                     beq        +0x6 /* 00002CC8 */
  4784. 00002CC4  7001                     moveq.l    D0, 0x01
  4785. 00002CC6  6002                     bra        +0x4 /* 00002CCA */
  4786. label00002CC8:
  4787. 00002CC8  7000                     moveq.l    D0, 0x00
  4788. label00002CCA:
  4789. 00002CCA  322E FFEE                move.w     D1, [A6 - 0x12]
  4790. 00002CCE  E3A8                     lsl        D0, D1
  4791. 00002CD0  816E FFEC                or.w       [A6 - 0x14], D0
  4792. 00002CD4  302E FFEE                move.w     D0, [A6 - 0x12]
  4793. 00002CD8  536E FFEE                subq.w     [A6 - 0x12], 1
  4794. 00002CDC  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  4795. 00002CE0  6F00 FF54                ble        -0xAA /* 00002C36 */
  4796. 00002CE4  206E FFF2                movea.l    A0, [A6 - 0xE]
  4797. 00002CE8  30AE FFEC                move.w     [A0], [A6 - 0x14]
  4798. 00002CEC  0245 FFFD                andi.w     D5, 0xFFFD
  4799. 00002CF0  3C3C 0BB8                move.w     D6, 0xBB8
  4800. 00002CF4  7600                     moveq.l    D3, 0x00
  4801. label00002CF6:
  4802. 00002CF6  7000                     moveq.l    D0, 0x00
  4803. 00002CF8  1014                     move.b     D0, [A4]
  4804. 00002CFA  4A80                     tst.l      D0
  4805. 00002CFC  7202                     moveq.l    D1, 0x02
  4806. 00002CFE  C200                     and.b      D1, D0
  4807. 00002D00  7000                     moveq.l    D0, 0x00
  4808. 00002D02  1001                     move.b     D0, D1
  4809. 00002D04  4A80                     tst.l      D0
  4810. 00002D06  7202                     moveq.l    D1, 0x02
  4811. 00002D08  C245                     and.w      D1, D5
  4812. 00002D0A  7400                     moveq.l    D2, 0x00
  4813. 00002D0C  3401                     move.w     D2, D1
  4814. 00002D0E  4A82                     tst.l      D2
  4815. 00002D10  B480                     cmp.l      D2, D0
  4816. 00002D12  670E                     beq        +0x10 /* 00002D22 */
  4817. 00002D14  1885                     move.b     [A4], D5
  4818. 00002D16  6002                     bra        +0x4 /* 00002D1A */
  4819. 00002D18  6008                     bra        +0xA /* 00002D22 */
  4820. label00002D1A:
  4821. 00002D1A  3006                     move.w     D0, D6
  4822. 00002D1C  5346                     subq.w     D6, 1
  4823. 00002D1E  B646                     cmp.w      D3, D6
  4824. 00002D20  6DD4                     blt        -0x2A /* 00002CF6 */
  4825. label00002D22:
  4826. 00002D22  0885 0000                bclr.b     D5, 0x0
  4827. 00002D26  1885                     move.b     [A4], D5
  4828. 00002D28  3E04                     move.w     D7, D4
  4829. 00002D2A  5347                     subq.w     D7, 1
  4830. 00002D2C  4A47                     tst.w      D7
  4831. 00002D2E  6D04                     blt        +0x6 /* 00002D34 */
  4832. label00002D30:
  4833. 00002D30  51CF FFFE                dbf        D7, -0x4 /* 00002D30 */
  4834. label00002D34:
  4835. 00002D34  0045 0002                ori.w      D5, 0x2
  4836. 00002D38  3C3C 0BB8                move.w     D6, 0xBB8
  4837. 00002D3C  7600                     moveq.l    D3, 0x00
  4838. label00002D3E:
  4839. 00002D3E  7000                     moveq.l    D0, 0x00
  4840. 00002D40  1014                     move.b     D0, [A4]
  4841. 00002D42  4A80                     tst.l      D0
  4842. 00002D44  7202                     moveq.l    D1, 0x02
  4843. 00002D46  C200                     and.b      D1, D0
  4844. 00002D48  7000                     moveq.l    D0, 0x00
  4845. 00002D4A  1001                     move.b     D0, D1
  4846. 00002D4C  4A80                     tst.l      D0
  4847. 00002D4E  7202                     moveq.l    D1, 0x02
  4848. 00002D50  C245                     and.w      D1, D5
  4849. 00002D52  7400                     moveq.l    D2, 0x00
  4850. 00002D54  3401                     move.w     D2, D1
  4851. 00002D56  4A82                     tst.l      D2
  4852. 00002D58  B480                     cmp.l      D2, D0
  4853. 00002D5A  670E                     beq        +0x10 /* 00002D6A */
  4854. 00002D5C  1885                     move.b     [A4], D5
  4855. 00002D5E  6002                     bra        +0x4 /* 00002D62 */
  4856. 00002D60  6008                     bra        +0xA /* 00002D6A */
  4857. label00002D62:
  4858. 00002D62  3006                     move.w     D0, D6
  4859. 00002D64  5346                     subq.w     D6, 1
  4860. 00002D66  B646                     cmp.w      D3, D6
  4861. 00002D68  6DD4                     blt        -0x2A /* 00002D3E */
  4862. label00002D6A:
  4863. 00002D6A  3E04                     move.w     D7, D4
  4864. 00002D6C  5347                     subq.w     D7, 1
  4865. 00002D6E  4A47                     tst.w      D7
  4866. 00002D70  6D04                     blt        +0x6 /* 00002D76 */
  4867. label00002D72:
  4868. 00002D72  51CF FFFE                dbf        D7, -0x4 /* 00002D72 */
  4869. label00002D76:
  4870. 00002D76  0045 0001                ori.w      D5, 0x1
  4871. 00002D7A  1885                     move.b     [A4], D5
  4872. 00002D7C  26AE FFFC                move.l     [A3], [A6 - 0x4]
  4873. 00002D80  43EE FFFB                lea.l      A1, [A6 - 0x5]
  4874. 00002D84  2049                     movea.l    A0, A1
  4875. 00002D86  1010                     move.b     D0, [A0]
  4876. 00002D88  A05D                     syscall    SwapMMUMode
  4877. 00002D8A  1080                     move.b     [A0], D0
  4878. 00002D8C  7000                     moveq.l    D0, 0x00
  4879. label00002D8E:
  4880. 00002D8E  4CEE 18F8 FFCC           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x34]
  4881. 00002D94  4E5E                     unlink     A6
  4882. 00002D96  4E75                     rts
  4883. 00002D98  4E56 FF88                link       A6, -0x0078
  4884. 00002D9C  48E7 1118                movem.l    -[A7], D3,D7,A3,A4
  4885. 00002DA0  206E 0008                movea.l    A0, [A6 + 0x8]
  4886. 00002DA4  4AA8 0014                tst.l      [A0 + 0x14]
  4887. 00002DA8  6708                     beq        +0xA /* 00002DB2 */
  4888. 00002DAA  426E 0010                clr.w      [A6 + 0x10]
  4889. 00002DAE  6000 0188                bra        +0x18A /* 00002F38 */
  4890. label00002DB2:
  4891. 00002DB2  7044                     moveq.l    D0, 0x44
  4892. 00002DB4  A440                     syscall    ReserveMemSys, flags=4
  4893. 00002DB6  7044                     moveq.l    D0, 0x44
  4894. 00002DB8  A522                     syscall    NewHandleSys, flags=5
  4895. 00002DBA  226E 0008                movea.l    A1, [A6 + 0x8]
  4896. 00002DBE  2348 0014                move.l     [A1 + 0x14], A0
  4897. 00002DC2  660A                     bne        +0xC /* 00002DCE */
  4898. 00002DC4  3D7C FFE9 0010           move.w     [A6 + 0x10], 0xFFE9
  4899. 00002DCA  6000 016C                bra        +0x16E /* 00002F38 */
  4900. label00002DCE:
  4901. 00002DCE  226E 0008                movea.l    A1, [A6 + 0x8]
  4902. 00002DD2  2069 0014                movea.l    A0, [A1 + 0x14]
  4903. 00002DD6  A029                     syscall    HLock
  4904. 00002DD8  206E 0008                movea.l    A0, [A6 + 0x8]
  4905. 00002DDC  2068 0014                movea.l    A0, [A0 + 0x14]
  4906. 00002DE0  2850                     movea.l    A4, [A0]
  4907. 00002DE2  4254                     clr.w      [A4]
  4908. 00002DE4  426C 0002                clr.w      [A4 + 0x2]
  4909. 00002DE8  4247                     clr.w      D7
  4910. 00002DEA  7610                     moveq.l    D3, 0x10
  4911. label00002DEC:
  4912. 00002DEC  48C7                     ext.l      D7
  4913. 00002DEE  7000                     moveq.l    D0, 0x00
  4914. 00002DF0  2980 7C04                move.l     [A4 + D7 * 4 + 0x4], D0
  4915. 00002DF4  3007                     move.w     D0, D7
  4916. 00002DF6  5247                     addq.w     D7, 1
  4917. 00002DF8  B647                     cmp.w      D3, D7
  4918. 00002DFA  6EF0                     bgt        -0xE /* 00002DEC */
  4919. 00002DFC  4247                     clr.w      D7
  4920. 00002DFE  7610                     moveq.l    D3, 0x10
  4921. label00002E00:
  4922. 00002E00  2007                     move.l     D0, D7
  4923. 00002E02  E540                     asl        D0.w, 2
  4924. 00002E04  4276 00C0                clr.w      [A6 + D0.w - 0x64]
  4925. 00002E08  2007                     move.l     D0, D7
  4926. 00002E0A  E540                     asl        D0.w, 2
  4927. 00002E0C  4276 00C2                clr.w      [A6 + D0.w - 0x62]
  4928. 00002E10  3007                     move.w     D0, D7
  4929. 00002E12  5247                     addq.w     D7, 1
  4930. 00002E14  B647                     cmp.w      D3, D7
  4931. 00002E16  6EE8                     bgt        -0x16 /* 00002E00 */
  4932. 00002E18  422E FFB9                clr.b      [A6 - 0x47]
  4933. 00002E1C  422E FFBA                clr.b      [A6 - 0x46]
  4934. 00002E20  422E FFBB                clr.b      [A6 - 0x45]
  4935. 00002E24  1D7C 0001 FFB8           move.b     [A6 - 0x48], 0x1
  4936. 00002E2A  3D7C 0003 FFB0           move.w     [A6 - 0x50], 0x3
  4937. 00002E30  3D7C 0001 FFB2           move.w     [A6 - 0x4E], 0x1
  4938. 00002E36  3D7C 0001 FFB4           move.w     [A6 - 0x4C], 0x1
  4939. 00002E3C  6024                     bra        +0x26 /* 00002E62 */
  4940. label00002E3E:
  4941. 00002E3E  0C6E 02CC FFB6           cmpi.w     [A6 - 0x4A], 0x2CC
  4942. 00002E44  661C                     bne        +0x1E /* 00002E62 */
  4943. 00002E46  102E FFB9                move.b     D0, [A6 - 0x47]
  4944. 00002E4A  4880                     ext.w      D0
  4945. 00002E4C  E540                     asl        D0.w, 2
  4946. 00002E4E  3DAE FFAE 00C0           move.w     [A6 + D0.w - 0x64], [A6 - 0x52]
  4947. 00002E54  102E FFB9                move.b     D0, [A6 - 0x47]
  4948. 00002E58  4880                     ext.w      D0
  4949. 00002E5A  E540                     asl        D0.w, 2
  4950. 00002E5C  3DAE FFB6 00C2           move.w     [A6 + D0.w - 0x62], [A6 - 0x4A]
  4951. label00002E62:
  4952. 00002E62  43EE FF88                lea.l      A1, [A6 - 0x78]
  4953. 00002E66  2049                     movea.l    A0, A1
  4954. 00002E68  7015                     moveq.l    D0, 0x15
  4955. 00002E6A  A06E                     syscall    SlotManager
  4956. 00002E6C  4A40                     tst.w      D0
  4957. 00002E6E  67CE                     beq        -0x30 /* 00002E3E */
  4958. 00002E70  4247                     clr.w      D7
  4959. label00002E72:
  4960. 00002E72  2007                     move.l     D0, D7
  4961. 00002E74  E540                     asl        D0.w, 2
  4962. 00002E76  4A76 00C0                tst.w      [A6 + D0.w - 0x64]
  4963. 00002E7A  677C                     beq        +0x7E /* 00002EF8 */
  4964. 00002E7C  203C 0000 0148           move.l     D0, 0x148
  4965. 00002E82  A440                     syscall    ReserveMemSys, flags=4
  4966. 00002E84  203C 0000 0148           move.l     D0, 0x148
  4967. 00002E8A  A522                     syscall    NewHandleSys, flags=5
  4968. 00002E8C  3014                     move.w     D0, [A4]
  4969. 00002E8E  48C0                     ext.l      D0
  4970. 00002E90  2988 0C04                move.l     [A4 + D0 * 4 + 0x4], A0
  4971. 00002E94  676E                     beq        +0x70 /* 00002F04 */
  4972. 00002E96  3014                     move.w     D0, [A4]
  4973. 00002E98  48C0                     ext.l      D0
  4974. 00002E9A  2074 0C04                movea.l    A0, [A4 + D0 * 4 + 0x4]
  4975. 00002E9E  A029                     syscall    HLock
  4976. 00002EA0  3014                     move.w     D0, [A4]
  4977. 00002EA2  48C0                     ext.l      D0
  4978. 00002EA4  2074 0C04                movea.l    A0, [A4 + D0 * 4 + 0x4]
  4979. 00002EA8  2650                     movea.l    A3, [A0]
  4980. 00002EAA  3007                     move.w     D0, D7
  4981. 00002EAC  807C 00F0                or.w       D0, 0xF0
  4982. 00002EB0  7218                     moveq.l    D1, 0x18
  4983. 00002EB2  E3A8                     lsl        D0, D1
  4984. 00002EB4  2680                     move.l     [A3], D0
  4985. 00002EB6  2007                     move.l     D0, D7
  4986. 00002EB8  E540                     asl        D0.w, 2
  4987. 00002EBA  3776 00C0 0004           move.w     [A3 + 0x4], [A6 + D0.w - 0x64]
  4988. 00002EC0  598F                     subq.l     A7, 4
  4989. 00002EC2  3F2B 0004                move.w     -[A7], [A3 + 0x4]
  4990. 00002EC6  4EBA 3032                jsr        [PC + 0x3032 /* 00005EFA */]
  4991. 00002ECA  275F 0006                move.l     [A3 + 0x6], [A7]+
  4992. 00002ECE  206B 0006                movea.l    A0, [A3 + 0x6]
  4993. 00002ED2  2050                     movea.l    A0, [A0]
  4994. 00002ED4  2768 0014 000A           move.l     [A3 + 0xA], [A0 + 0x14]
  4995. 00002EDA  426B 0146                clr.w      [A3 + 0x146]
  4996. 00002EDE  2007                     move.l     D0, D7
  4997. 00002EE0  E540                     asl        D0.w, 2
  4998. 00002EE2  3776 00C2 0028           move.w     [A3 + 0x28], [A6 + D0.w - 0x62]
  4999. 00002EE8  426B 002A                clr.w      [A3 + 0x2A]
  5000. 00002EEC  3014                     move.w     D0, [A4]
  5001. 00002EEE  48C0                     ext.l      D0
  5002. 00002EF0  2074 0C04                movea.l    A0, [A4 + D0 * 4 + 0x4]
  5003. 00002EF4  A02A                     syscall    HUnlock
  5004. 00002EF6  5254                     addq.w     [A4], 1
  5005. label00002EF8:
  5006. 00002EF8  3007                     move.w     D0, D7
  5007. 00002EFA  5247                     addq.w     D7, 1
  5008. 00002EFC  0C47 0010                cmpi.w     D7, 0x10
  5009. 00002F00  6D00 FF70                blt        -0x8E /* 00002E72 */
  5010. label00002F04:
  5011. 00002F04  4A54                     tst.w      [A4]
  5012. 00002F06  6F06                     ble        +0x8 /* 00002F0E */
  5013. 00002F08  426C 0002                clr.w      [A4 + 0x2]
  5014. 00002F0C  601C                     bra        +0x1E /* 00002F2A */
  5015. label00002F0E:
  5016. 00002F0E  226E 0008                movea.l    A1, [A6 + 0x8]
  5017. 00002F12  2069 0014                movea.l    A0, [A1 + 0x14]
  5018. 00002F16  A02A                     syscall    HUnlock
  5019. 00002F18  226E 0008                movea.l    A1, [A6 + 0x8]
  5020. 00002F1C  2069 0014                movea.l    A0, [A1 + 0x14]
  5021. 00002F20  A023                     syscall    DisposHandle/DisposeHandle
  5022. 00002F22  3D7C FFE9 0010           move.w     [A6 + 0x10], 0xFFE9
  5023. 00002F28  600E                     bra        +0x10 /* 00002F38 */
  5024. label00002F2A:
  5025. 00002F2A  226E 0008                movea.l    A1, [A6 + 0x8]
  5026. 00002F2E  2069 0014                movea.l    A0, [A1 + 0x14]
  5027. 00002F32  A02A                     syscall    HUnlock
  5028. 00002F34  426E 0010                clr.w      [A6 + 0x10]
  5029. label00002F38:
  5030. 00002F38  4CEE 1888 FF78           movem.l    D3,D7,A3,A4, [A6 - 0x88]
  5031. 00002F3E  4E5E                     unlink     A6
  5032. 00002F40  4E74 0008                rtd        0x0008
  5033. 00002F44  4E56 0000                link       A6, 0
  5034. 00002F48  426E 0010                clr.w      [A6 + 0x10]
  5035. 00002F4C  4E5E                     unlink     A6
  5036. 00002F4E  4E74 0008                rtd        0x0008
  5037. 00002F52  4E56 0000                link       A6, 0
  5038. 00002F56  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  5039. 00002F5A  4EBA 000C                jsr        [PC + 0xC /* 00002F68 */]
  5040. 00002F5E  426E 0010                clr.w      [A6 + 0x10]
  5041. 00002F62  4E5E                     unlink     A6
  5042. 00002F64  4E74 0008                rtd        0x0008
  5043. fn00002F68:
  5044. 00002F68  4E56 0000                link       A6, 0
  5045. 00002F6C  48E7 0118                movem.l    -[A7], D7,A3,A4
  5046. 00002F70  266E 0008                movea.l    A3, [A6 + 0x8]
  5047. 00002F74  2053                     movea.l    A0, [A3]
  5048. 00002F76  A126                     syscall    HandleZone, flags=1
  5049. 00002F78  B1F8 02A6                cmpa.l     A0, [0x000002A6 /* SysZone */]
  5050. 00002F7C  673A                     beq        +0x3C /* 00002FB8 */
  5051. 00002F7E  206B 0014                movea.l    A0, [A3 + 0x14]
  5052. 00002F82  A029                     syscall    HLock
  5053. 00002F84  206B 0014                movea.l    A0, [A3 + 0x14]
  5054. 00002F88  2850                     movea.l    A4, [A0]
  5055. 00002F8A  4247                     clr.w      D7
  5056. 00002F8C  6014                     bra        +0x16 /* 00002FA2 */
  5057. label00002F8E:
  5058. 00002F8E  48C7                     ext.l      D7
  5059. 00002F90  4AB4 7C04                tst.l      [A4 + D7 * 4 + 0x4]
  5060. 00002F94  6708                     beq        +0xA /* 00002F9E */
  5061. 00002F96  48C7                     ext.l      D7
  5062. 00002F98  2074 7C04                movea.l    A0, [A4 + D7 * 4 + 0x4]
  5063. 00002F9C  A023                     syscall    DisposHandle/DisposeHandle
  5064. label00002F9E:
  5065. 00002F9E  3007                     move.w     D0, D7
  5066. 00002FA0  5247                     addq.w     D7, 1
  5067. label00002FA2:
  5068. 00002FA2  BE54                     cmp.w      D7, [A4]
  5069. 00002FA4  6DE8                     blt        -0x16 /* 00002F8E */
  5070. 00002FA6  206B 0014                movea.l    A0, [A3 + 0x14]
  5071. 00002FAA  A02A                     syscall    HUnlock
  5072. 00002FAC  206B 0014                movea.l    A0, [A3 + 0x14]
  5073. 00002FB0  A023                     syscall    DisposHandle/DisposeHandle
  5074. 00002FB2  7000                     moveq.l    D0, 0x00
  5075. 00002FB4  2740 0014                move.l     [A3 + 0x14], D0
  5076. label00002FB8:
  5077. 00002FB8  4CEE 1880 FFF4           movem.l    D7,A3,A4, [A6 - 0xC]
  5078. 00002FBE  4E5E                     unlink     A6
  5079. 00002FC0  4E75                     rts
  5080. 00002FC2  4E56 FFB2                link       A6, -0x004E
  5081. 00002FC6  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  5082. 00002FCA  266E 000C                movea.l    A3, [A6 + 0xC]
  5083. 00002FCE  4245                     clr.w      D5
  5084. 00002FD0  226E 0008                movea.l    A1, [A6 + 0x8]
  5085. 00002FD4  2069 0014                movea.l    A0, [A1 + 0x14]
  5086. 00002FD8  A029                     syscall    HLock
  5087. 00002FDA  206E 0008                movea.l    A0, [A6 + 0x8]
  5088. 00002FDE  2068 0014                movea.l    A0, [A0 + 0x14]
  5089. 00002FE2  2D50 FFC2                move.l     [A6 - 0x3E], [A0]
  5090. 00002FE6  226E FFC2                movea.l    A1, [A6 - 0x3E]
  5091. 00002FEA  3029 0002                move.w     D0, [A1 + 0x2]
  5092. 00002FEE  48C0                     ext.l      D0
  5093. 00002FF0  226E FFC2                movea.l    A1, [A6 - 0x3E]
  5094. 00002FF4  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  5095. 00002FF8  A029                     syscall    HLock
  5096. 00002FFA  206E FFC2                movea.l    A0, [A6 - 0x3E]
  5097. 00002FFE  3028 0002                move.w     D0, [A0 + 0x2]
  5098. 00003002  48C0                     ext.l      D0
  5099. 00003004  206E FFC2                movea.l    A0, [A6 - 0x3E]
  5100. 00003008  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  5101. 0000300C  2850                     movea.l    A4, [A0]
  5102. 0000300E  206C 000A                movea.l    A0, [A4 + 0xA]
  5103. 00003012  2D50 FFC6                move.l     [A6 - 0x3A], [A0]
  5104. 00003016  4245                     clr.w      D5
  5105. 00003018  2E14                     move.l     D7, [A4]
  5106. 0000301A  2007                     move.l     D0, D7
  5107. 0000301C  D0BC 00FE 6007           add.l      D0, 0xFE6007
  5108. 00003022  2D40 FFCC                move.l     [A6 - 0x34], D0
  5109. 00003026  2007                     move.l     D0, D7
  5110. 00003028  D0BC 00FE 601B           add.l      D0, 0xFE601B
  5111. 0000302E  2D40 FFD0                move.l     [A6 - 0x30], D0
  5112. 00003032  2007                     move.l     D0, D7
  5113. 00003034  D0BC 00FE 7018           add.l      D0, 0xFE7018
  5114. 0000303A  2D40 FFD4                move.l     [A6 - 0x2C], D0
  5115. 0000303E  2007                     move.l     D0, D7
  5116. 00003040  D0BC 00FE 7000           add.l      D0, 0xFE7000
  5117. 00003046  2D40 FFD8                move.l     [A6 - 0x28], D0
  5118. 0000304A  2007                     move.l     D0, D7
  5119. 0000304C  D0BC 00FE 7004           add.l      D0, 0xFE7004
  5120. 00003052  2D40 FFDC                move.l     [A6 - 0x24], D0
  5121. 00003056  2007                     move.l     D0, D7
  5122. 00003058  D0BC 00FE 7008           add.l      D0, 0xFE7008
  5123. 0000305E  2D40 FFE0                move.l     [A6 - 0x20], D0
  5124. 00003062  302B 001A                move.w     D0, [A3 + 0x1A]
  5125. 00003066  5240                     addq.w     D0, 1
  5126. 00003068  6700 2066                beq        +0x2068 /* 000050D0 */
  5127. 0000306C  0440 2329                subi.w     D0, 0x2329 /* '#)' */
  5128. 00003070  6700 00EA                beq        +0xEC /* 0000315C */
  5129. 00003074  5340                     subq.w     D0, 1
  5130. 00003076  6700 0140                beq        +0x142 /* 000031B8 */
  5131. 0000307A  5340                     subq.w     D0, 1
  5132. 0000307C  6700 0182                beq        +0x184 /* 00003200 */
  5133. 00003080  5740                     subq.w     D0, 3
  5134. 00003082  6700 01BC                beq        +0x1BE /* 00003240 */
  5135. 00003086  5340                     subq.w     D0, 1
  5136. 00003088  6700 0294                beq        +0x296 /* 0000331E */
  5137. 0000308C  5340                     subq.w     D0, 1
  5138. 0000308E  6700 02D0                beq        +0x2D2 /* 00003360 */
  5139. 00003092  5B40                     subq.w     D0, 5
  5140. 00003094  6700 031A                beq        +0x31C /* 000033B0 */
  5141. 00003098  5740                     subq.w     D0, 3
  5142. 0000309A  6700 0CE2                beq        +0xCE4 /* 00003D7E */
  5143. 0000309E  5340                     subq.w     D0, 1
  5144. 000030A0  6700 0EC6                beq        +0xEC8 /* 00003F68 */
  5145. 000030A4  5740                     subq.w     D0, 3
  5146. 000030A6  6700 0F04                beq        +0xF06 /* 00003FAC */
  5147. 000030AA  5340                     subq.w     D0, 1
  5148. 000030AC  6700 0F26                beq        +0xF28 /* 00003FD4 */
  5149. 000030B0  5340                     subq.w     D0, 1
  5150. 000030B2  6700 0F48                beq        +0xF4A /* 00003FFC */
  5151. 000030B6  5740                     subq.w     D0, 3
  5152. 000030B8  6700 0F6A                beq        +0xF6C /* 00004024 */
  5153. 000030BC  5340                     subq.w     D0, 1
  5154. 000030BE  6700 0F88                beq        +0xF8A /* 00004048 */
  5155. 000030C2  5340                     subq.w     D0, 1
  5156. 000030C4  6700 1078                beq        +0x107A /* 0000413E */
  5157. 000030C8  5340                     subq.w     D0, 1
  5158. 000030CA  6700 1274                beq        +0x1276 /* 00004340 */
  5159. 000030CE  5340                     subq.w     D0, 1
  5160. 000030D0  6700 1288                beq        +0x128A /* 0000435A */
  5161. 000030D4  5340                     subq.w     D0, 1
  5162. 000030D6  6700 137E                beq        +0x1380 /* 00004456 */
  5163. 000030DA  5740                     subq.w     D0, 3
  5164. 000030DC  6700 148A                beq        +0x148C /* 00004568 */
  5165. 000030E0  5340                     subq.w     D0, 1
  5166. 000030E2  6700 150A                beq        +0x150C /* 000045EE */
  5167. 000030E6  5340                     subq.w     D0, 1
  5168. 000030E8  6700 1554                beq        +0x1556 /* 0000463E */
  5169. 000030EC  5340                     subq.w     D0, 1
  5170. 000030EE  6700 1624                beq        +0x1626 /* 00004714 */
  5171. 000030F2  5740                     subq.w     D0, 3
  5172. 000030F4  6700 16A2                beq        +0x16A4 /* 00004798 */
  5173. 000030F8  5540                     subq.w     D0, 2
  5174. 000030FA  6700 19F4                beq        +0x19F6 /* 00004AF0 */
  5175. 000030FE  5340                     subq.w     D0, 1
  5176. 00003100  6700 1A66                beq        +0x1A68 /* 00004B68 */
  5177. 00003104  5340                     subq.w     D0, 1
  5178. 00003106  6700 1AC2                beq        +0x1AC4 /* 00004BCA */
  5179. 0000310A  5340                     subq.w     D0, 1
  5180. 0000310C  6700 1B0E                beq        +0x1B10 /* 00004C1C */
  5181. 00003110  5340                     subq.w     D0, 1
  5182. 00003112  6700 1B32                beq        +0x1B34 /* 00004C46 */
  5183. 00003116  5540                     subq.w     D0, 2
  5184. 00003118  6700 1BC4                beq        +0x1BC6 /* 00004CDE */
  5185. 0000311C  5340                     subq.w     D0, 1
  5186. 0000311E  6700 1BE8                beq        +0x1BEA /* 00004D08 */
  5187. 00003122  5340                     subq.w     D0, 1
  5188. 00003124  6700 1C0C                beq        +0x1C0E /* 00004D32 */
  5189. 00003128  5340                     subq.w     D0, 1
  5190. 0000312A  6700 1C6C                beq        +0x1C6E /* 00004D98 */
  5191. 0000312E  5340                     subq.w     D0, 1
  5192. 00003130  6700 1CB8                beq        +0x1CBA /* 00004DEA */
  5193. 00003134  5540                     subq.w     D0, 2
  5194. 00003136  6700 1CFA                beq        +0x1CFC /* 00004E32 */
  5195. 0000313A  5340                     subq.w     D0, 1
  5196. 0000313C  6700 1D56                beq        +0x1D58 /* 00004E94 */
  5197. 00003140  5340                     subq.w     D0, 1
  5198. 00003142  6700 1D8A                beq        +0x1D8C /* 00004ECE */
  5199. 00003146  5340                     subq.w     D0, 1
  5200. 00003148  6700 1DDC                beq        +0x1DDE /* 00004F26 */
  5201. 0000314C  5340                     subq.w     D0, 1
  5202. 0000314E  6700 1E2E                beq        +0x1E30 /* 00004F7E */
  5203. 00003152  5940                     subq.w     D0, 4
  5204. 00003154  6700 1E7C                beq        +0x1E7E /* 00004FD2 */
  5205. 00003158  6000 1F82                bra        +0x1F84 /* 000050DC */
  5206. label0000315C:
  5207. 0000315C  206E FFC6                movea.l    A0, [A6 - 0x3A]
  5208. 00003160  7000                     moveq.l    D0, 0x00
  5209. 00003162  3028 0708                move.w     D0, [A0 + 0x708]
  5210. 00003166  4A80                     tst.l      D0
  5211. 00003168  0C80 0000 0084           cmpi.l     D0, 0x84
  5212. 0000316E  6628                     bne        +0x2A /* 00003198 */
  5213. 00003170  206E FFC6                movea.l    A0, [A6 - 0x3A]
  5214. 00003174  7000                     moveq.l    D0, 0x00
  5215. 00003176  3028 0708                move.w     D0, [A0 + 0x708]
  5216. 0000317A  4A80                     tst.l      D0
  5217. 0000317C  2F00                     move.l     -[A7], D0
  5218. 0000317E  202B 001C                move.l     D0, [A3 + 0x1C]
  5219. 00003182  80BC 8000 0000           or.l       D0, 0x80000000
  5220. 00003188  2F00                     move.l     -[A7], D0
  5221. 0000318A  2F07                     move.l     -[A7], D7
  5222. 0000318C  4EBA CF40                jsr        [PC - 0x30C0 /* 000000CE */]
  5223. 00003190  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5224. 00003194  6000 1F48                bra        +0x1F4A /* 000050DE */
  5225. label00003198:
  5226. 00003198  206E FFC6                movea.l    A0, [A6 - 0x3A]
  5227. 0000319C  7000                     moveq.l    D0, 0x00
  5228. 0000319E  3028 0708                move.w     D0, [A0 + 0x708]
  5229. 000031A2  4A80                     tst.l      D0
  5230. 000031A4  2F00                     move.l     -[A7], D0
  5231. 000031A6  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  5232. 000031AA  2F07                     move.l     -[A7], D7
  5233. 000031AC  4EBA CF20                jsr        [PC - 0x30E0 /* 000000CE */]
  5234. 000031B0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5235. 000031B4  6000 1F28                bra        +0x1F2A /* 000050DE */
  5236. label000031B8:
  5237. 000031B8  7001                     moveq.l    D0, 0x01
  5238. 000031BA  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  5239. 000031BE  6718                     beq        +0x1A /* 000031D8 */
  5240. 000031C0  7002                     moveq.l    D0, 0x02
  5241. 000031C2  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  5242. 000031C6  6710                     beq        +0x12 /* 000031D8 */
  5243. 000031C8  7004                     moveq.l    D0, 0x04
  5244. 000031CA  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  5245. 000031CE  6708                     beq        +0xA /* 000031D8 */
  5246. 000031D0  7008                     moveq.l    D0, 0x08
  5247. 000031D2  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  5248. 000031D6  6620                     bne        +0x22 /* 000031F8 */
  5249. label000031D8:
  5250. 000031D8  2F2E FFC6                move.l     -[A7], [A6 - 0x3A]
  5251. 000031DC  302B 001E                move.w     D0, [A3 + 0x1E]
  5252. 000031E0  48C0                     ext.l      D0
  5253. 000031E2  2F00                     move.l     -[A7], D0
  5254. 000031E4  302B 001C                move.w     D0, [A3 + 0x1C]
  5255. 000031E8  48C0                     ext.l      D0
  5256. 000031EA  2F00                     move.l     -[A7], D0
  5257. 000031EC  4EBA D17A                jsr        [PC - 0x2E86 /* 00000368 */]
  5258. 000031F0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5259. 000031F4  6000 1EE8                bra        +0x1EEA /* 000050DE */
  5260. label000031F8:
  5261. 000031F8  3A3C E0BF                move.w     D5, 0xE0BF
  5262. 000031FC  6000 1EE0                bra        +0x1EE2 /* 000050DE */
  5263. label00003200:
  5264. 00003200  0C6B 0400 001C           cmpi.w     [A3 + 0x1C], 0x400
  5265. 00003206  6C30                     bge        +0x32 /* 00003238 */
  5266. 00003208  0C6B 0200 001E           cmpi.w     [A3 + 0x1E], 0x200
  5267. 0000320E  6C28                     bge        +0x2A /* 00003238 */
  5268. 00003210  2F2E FFC6                move.l     -[A7], [A6 - 0x3A]
  5269. 00003214  302B 0020                move.w     D0, [A3 + 0x20]
  5270. 00003218  48C0                     ext.l      D0
  5271. 0000321A  2F00                     move.l     -[A7], D0
  5272. 0000321C  302B 001E                move.w     D0, [A3 + 0x1E]
  5273. 00003220  48C0                     ext.l      D0
  5274. 00003222  2F00                     move.l     -[A7], D0
  5275. 00003224  302B 001C                move.w     D0, [A3 + 0x1C]
  5276. 00003228  48C0                     ext.l      D0
  5277. 0000322A  2F00                     move.l     -[A7], D0
  5278. 0000322C  4EBA D316                jsr        [PC - 0x2CEA /* 00000544 */]
  5279. 00003230  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5280. 00003234  6000 1EA8                bra        +0x1EAA /* 000050DE */
  5281. label00003238:
  5282. 00003238  3A3C E0BE                move.w     D5, 0xE0BE
  5283. 0000323C  6000 1EA0                bra        +0x1EA2 /* 000050DE */
  5284. label00003240:
  5285. 00003240  2F07                     move.l     -[A7], D7
  5286. 00003242  4EBA D770                jsr        [PC - 0x2890 /* 000009B4 */]
  5287. 00003246  3800                     move.w     D4, D0
  5288. 00003248  7062                     moveq.l    D0, 0x62
  5289. 0000324A  B06C 0146                cmp.w      D0, [A4 + 0x146]
  5290. 0000324E  584F                     addq.w     A7, 4
  5291. 00003250  664A                     bne        +0x4C /* 0000329C */
  5292. 00003252  4A6C 0026                tst.w      [A4 + 0x26]
  5293. 00003256  6622                     bne        +0x24 /* 0000327A */
  5294. 00003258  2F0C                     move.l     -[A7], A4
  5295. 0000325A  4A6B 001C                tst.w      [A3 + 0x1C]
  5296. 0000325E  6704                     beq        +0x6 /* 00003264 */
  5297. 00003260  7021                     moveq.l    D0, 0x21
  5298. 00003262  6002                     bra        +0x4 /* 00003266 */
  5299. label00003264:
  5300. 00003264  7011                     moveq.l    D0, 0x11
  5301. label00003266:
  5302. 00003266  2F00                     move.l     -[A7], D0
  5303. 00003268  700A                     moveq.l    D0, 0x0A
  5304. 0000326A  2F00                     move.l     -[A7], D0
  5305. 0000326C  4878 008A                push.l     0x8A
  5306. 00003270  4EBA E320                jsr        [PC - 0x1CE0 /* 00001592 */]
  5307. 00003274  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5308. 00003278  607E                     bra        +0x80 /* 000032F8 */
  5309. label0000327A:
  5310. 0000327A  2F0C                     move.l     -[A7], A4
  5311. 0000327C  4A6B 001C                tst.w      [A3 + 0x1C]
  5312. 00003280  6704                     beq        +0x6 /* 00003286 */
  5313. 00003282  7020                     moveq.l    D0, 0x20
  5314. 00003284  6002                     bra        +0x4 /* 00003288 */
  5315. label00003286:
  5316. 00003286  7010                     moveq.l    D0, 0x10
  5317. label00003288:
  5318. 00003288  2F00                     move.l     -[A7], D0
  5319. 0000328A  700A                     moveq.l    D0, 0x0A
  5320. 0000328C  2F00                     move.l     -[A7], D0
  5321. 0000328E  4878 008A                push.l     0x8A
  5322. 00003292  4EBA E2FE                jsr        [PC - 0x1D02 /* 00001592 */]
  5323. 00003296  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5324. 0000329A  605C                     bra        +0x5E /* 000032F8 */
  5325. label0000329C:
  5326. 0000329C  2F0C                     move.l     -[A7], A4
  5327. 0000329E  4A6B 001C                tst.w      [A3 + 0x1C]
  5328. 000032A2  6704                     beq        +0x6 /* 000032A8 */
  5329. 000032A4  7078                     moveq.l    D0, 0x78
  5330. 000032A6  6002                     bra        +0x4 /* 000032AA */
  5331. label000032A8:
  5332. 000032A8  707A                     moveq.l    D0, 0x7A
  5333. label000032AA:
  5334. 000032AA  2F00                     move.l     -[A7], D0
  5335. 000032AC  700E                     moveq.l    D0, 0x0E
  5336. 000032AE  2F00                     move.l     -[A7], D0
  5337. 000032B0  4878 008A                push.l     0x8A
  5338. 000032B4  4EBA E2DC                jsr        [PC - 0x1D24 /* 00001592 */]
  5339. 000032B8  2F0C                     move.l     -[A7], A4
  5340. 000032BA  7000                     moveq.l    D0, 0x00
  5341. 000032BC  102C 0032                move.b     D0, [A4 + 0x32]
  5342. 000032C0  4A80                     tst.l      D0
  5343. 000032C2  323C FF7F                move.w     D1, 0xFF7F
  5344. 000032C6  C240                     and.w      D1, D0
  5345. 000032C8  7000                     moveq.l    D0, 0x00
  5346. 000032CA  3001                     move.w     D0, D1
  5347. 000032CC  4A80                     tst.l      D0
  5348. 000032CE  4A6B 001C                tst.w      [A3 + 0x1C]
  5349. 000032D2  6708                     beq        +0xA /* 000032DC */
  5350. 000032D4  223C 0000 0080           move.l     D1, 0x80
  5351. 000032DA  6002                     bra        +0x4 /* 000032DE */
  5352. label000032DC:
  5353. 000032DC  7200                     moveq.l    D1, 0x00
  5354. label000032DE:
  5355. 000032DE  7400                     moveq.l    D2, 0x00
  5356. 000032E0  1401                     move.b     D2, D1
  5357. 000032E2  4A82                     tst.l      D2
  5358. 000032E4  8440                     or.w       D2, D0
  5359. 000032E6  2F02                     move.l     -[A7], D2
  5360. 000032E8  7006                     moveq.l    D0, 0x06
  5361. 000032EA  2F00                     move.l     -[A7], D0
  5362. 000032EC  4878 008A                push.l     0x8A
  5363. 000032F0  4EBA E2A0                jsr        [PC - 0x1D60 /* 00001592 */]
  5364. 000032F4  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5365. label000032F8:
  5366. 000032F8  4A44                     tst.w      D4
  5367. 000032FA  6700 1DE2                beq        +0x1DE4 /* 000050DE */
  5368. 000032FE  7001                     moveq.l    D0, 0x01
  5369. 00003300  2F00                     move.l     -[A7], D0
  5370. 00003302  7205                     moveq.l    D1, 0x05
  5371. 00003304  2F01                     move.l     -[A7], D1
  5372. 00003306  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5373. 0000330C  7003                     moveq.l    D0, 0x03
  5374. 0000330E  2F00                     move.l     -[A7], D0
  5375. 00003310  2F07                     move.l     -[A7], D7
  5376. 00003312  4EBA D45C                jsr        [PC - 0x2BA4 /* 00000770 */]
  5377. 00003316  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5378. 0000331A  6000 1DC2                bra        +0x1DC4 /* 000050DE */
  5379. label0000331E:
  5380. 0000331E  4878 00FF                push.l     0xFF
  5381. 00003322  7000                     moveq.l    D0, 0x00
  5382. 00003324  2F00                     move.l     -[A7], D0
  5383. 00003326  322B 001C                move.w     D1, [A3 + 0x1C]
  5384. 0000332A  48C1                     ext.l      D1
  5385. 0000332C  2F01                     move.l     -[A7], D1
  5386. 0000332E  4EBA D3C8                jsr        [PC - 0x2C38 /* 000006F8 */]
  5387. 00003332  4A40                     tst.w      D0
  5388. 00003334  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5389. 00003338  6608                     bne        +0xA /* 00003342 */
  5390. 0000333A  3A3C E0BD                move.w     D5, 0xE0BD
  5391. 0000333E  6000 1D9E                bra        +0x1DA0 /* 000050DE */
  5392. label00003342:
  5393. 00003342  2F0C                     move.l     -[A7], A4
  5394. 00003344  302B 001C                move.w     D0, [A3 + 0x1C]
  5395. 00003348  48C0                     ext.l      D0
  5396. 0000334A  2F00                     move.l     -[A7], D0
  5397. 0000334C  7007                     moveq.l    D0, 0x07
  5398. 0000334E  2F00                     move.l     -[A7], D0
  5399. 00003350  4878 008A                push.l     0x8A
  5400. 00003354  4EBA E23C                jsr        [PC - 0x1DC4 /* 00001592 */]
  5401. 00003358  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5402. 0000335C  6000 1D80                bra        +0x1D82 /* 000050DE */
  5403. label00003360:
  5404. 00003360  7062                     moveq.l    D0, 0x62
  5405. 00003362  B06C 0146                cmp.w      D0, [A4 + 0x146]
  5406. 00003366  6606                     bne        +0x8 /* 0000336E */
  5407. 00003368  7AEF                     moveq.l    D5, 0xFFFFFFEF
  5408. 0000336A  6000 1D72                bra        +0x1D74 /* 000050DE */
  5409. label0000336E:
  5410. 0000336E  4878 00FF                push.l     0xFF
  5411. 00003372  7000                     moveq.l    D0, 0x00
  5412. 00003374  2F00                     move.l     -[A7], D0
  5413. 00003376  322B 001C                move.w     D1, [A3 + 0x1C]
  5414. 0000337A  48C1                     ext.l      D1
  5415. 0000337C  2F01                     move.l     -[A7], D1
  5416. 0000337E  4EBA D378                jsr        [PC - 0x2C88 /* 000006F8 */]
  5417. 00003382  4A40                     tst.w      D0
  5418. 00003384  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5419. 00003388  6608                     bne        +0xA /* 00003392 */
  5420. 0000338A  3A3C E0BC                move.w     D5, 0xE0BC
  5421. 0000338E  6000 1D4E                bra        +0x1D50 /* 000050DE */
  5422. label00003392:
  5423. 00003392  2F0C                     move.l     -[A7], A4
  5424. 00003394  302B 001C                move.w     D0, [A3 + 0x1C]
  5425. 00003398  48C0                     ext.l      D0
  5426. 0000339A  2F00                     move.l     -[A7], D0
  5427. 0000339C  7011                     moveq.l    D0, 0x11
  5428. 0000339E  2F00                     move.l     -[A7], D0
  5429. 000033A0  4878 008A                push.l     0x8A
  5430. 000033A4  4EBA E1EC                jsr        [PC - 0x1E14 /* 00001592 */]
  5431. 000033A8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5432. 000033AC  6000 1D30                bra        +0x1D32 /* 000050DE */
  5433. label000033B0:
  5434. 000033B0  302B 0022                move.w     D0, [A3 + 0x22]
  5435. 000033B4  906B 001E                sub.w      D0, [A3 + 0x1E]
  5436. 000033B8  3D40 FFE6                move.w     [A6 - 0x1A], D0
  5437. 000033BC  302B 0020                move.w     D0, [A3 + 0x20]
  5438. 000033C0  906B 001C                sub.w      D0, [A3 + 0x1C]
  5439. 000033C4  3D40 FFE8                move.w     [A6 - 0x18], D0
  5440. 000033C8  302C 0018                move.w     D0, [A4 + 0x18]
  5441. 000033CC  48C0                     ext.l      D0
  5442. 000033CE  D080                     add.l      D0, D0
  5443. 000033D0  2F00                     move.l     -[A7], D0
  5444. 000033D2  302C 0016                move.w     D0, [A4 + 0x16]
  5445. 000033D6  48C0                     ext.l      D0
  5446. 000033D8  D080                     add.l      D0, D0
  5447. 000033DA  2F00                     move.l     -[A7], D0
  5448. 000033DC  302B 001C                move.w     D0, [A3 + 0x1C]
  5449. 000033E0  48C0                     ext.l      D0
  5450. 000033E2  2F00                     move.l     -[A7], D0
  5451. 000033E4  4EBA D312                jsr        [PC - 0x2CEE /* 000006F8 */]
  5452. 000033E8  4A40                     tst.w      D0
  5453. 000033EA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5454. 000033EE  6770                     beq        +0x72 /* 00003460 */
  5455. 000033F0  302C 0018                move.w     D0, [A4 + 0x18]
  5456. 000033F4  48C0                     ext.l      D0
  5457. 000033F6  D080                     add.l      D0, D0
  5458. 000033F8  2F00                     move.l     -[A7], D0
  5459. 000033FA  302C 0016                move.w     D0, [A4 + 0x16]
  5460. 000033FE  48C0                     ext.l      D0
  5461. 00003400  D080                     add.l      D0, D0
  5462. 00003402  2F00                     move.l     -[A7], D0
  5463. 00003404  302B 0020                move.w     D0, [A3 + 0x20]
  5464. 00003408  48C0                     ext.l      D0
  5465. 0000340A  2F00                     move.l     -[A7], D0
  5466. 0000340C  4EBA D2EA                jsr        [PC - 0x2D16 /* 000006F8 */]
  5467. 00003410  4A40                     tst.w      D0
  5468. 00003412  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5469. 00003416  6748                     beq        +0x4A /* 00003460 */
  5470. 00003418  302C 0012                move.w     D0, [A4 + 0x12]
  5471. 0000341C  48C0                     ext.l      D0
  5472. 0000341E  2F00                     move.l     -[A7], D0
  5473. 00003420  302C 0010                move.w     D0, [A4 + 0x10]
  5474. 00003424  48C0                     ext.l      D0
  5475. 00003426  2F00                     move.l     -[A7], D0
  5476. 00003428  302B 001E                move.w     D0, [A3 + 0x1E]
  5477. 0000342C  48C0                     ext.l      D0
  5478. 0000342E  2F00                     move.l     -[A7], D0
  5479. 00003430  4EBA D2C6                jsr        [PC - 0x2D3A /* 000006F8 */]
  5480. 00003434  4A40                     tst.w      D0
  5481. 00003436  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5482. 0000343A  6724                     beq        +0x26 /* 00003460 */
  5483. 0000343C  302C 0012                move.w     D0, [A4 + 0x12]
  5484. 00003440  48C0                     ext.l      D0
  5485. 00003442  2F00                     move.l     -[A7], D0
  5486. 00003444  302C 0010                move.w     D0, [A4 + 0x10]
  5487. 00003448  48C0                     ext.l      D0
  5488. 0000344A  2F00                     move.l     -[A7], D0
  5489. 0000344C  302B 0022                move.w     D0, [A3 + 0x22]
  5490. 00003450  48C0                     ext.l      D0
  5491. 00003452  2F00                     move.l     -[A7], D0
  5492. 00003454  4EBA D2A2                jsr        [PC - 0x2D5E /* 000006F8 */]
  5493. 00003458  4A40                     tst.w      D0
  5494. 0000345A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5495. 0000345E  6608                     bne        +0xA /* 00003468 */
  5496. label00003460:
  5497. 00003460  3A3C E0B7                move.w     D5, 0xE0B7
  5498. 00003464  6000 1C78                bra        +0x1C7A /* 000050DE */
  5499. label00003468:
  5500. 00003468  302E FFE6                move.w     D0, [A6 - 0x1A]
  5501. 0000346C  48C0                     ext.l      D0
  5502. 0000346E  2F00                     move.l     -[A7], D0
  5503. 00003470  7000                     moveq.l    D0, 0x00
  5504. 00003472  2F00                     move.l     -[A7], D0
  5505. 00003474  322B 0024                move.w     D1, [A3 + 0x24]
  5506. 00003478  48C1                     ext.l      D1
  5507. 0000347A  2F01                     move.l     -[A7], D1
  5508. 0000347C  4EBA D27A                jsr        [PC - 0x2D86 /* 000006F8 */]
  5509. 00003480  4A40                     tst.w      D0
  5510. 00003482  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5511. 00003486  670A                     beq        +0xC /* 00003492 */
  5512. 00003488  302B 0024                move.w     D0, [A3 + 0x24]
  5513. 0000348C  B06C 0014                cmp.w      D0, [A4 + 0x14]
  5514. 00003490  6F08                     ble        +0xA /* 0000349A */
  5515. label00003492:
  5516. 00003492  3A3C E0B6                move.w     D5, 0xE0B6
  5517. 00003496  6000 1C46                bra        +0x1C48 /* 000050DE */
  5518. label0000349A:
  5519. 0000349A  302E FFE8                move.w     D0, [A6 - 0x18]
  5520. 0000349E  48C0                     ext.l      D0
  5521. 000034A0  2F00                     move.l     -[A7], D0
  5522. 000034A2  7000                     moveq.l    D0, 0x00
  5523. 000034A4  2F00                     move.l     -[A7], D0
  5524. 000034A6  322B 0026                move.w     D1, [A3 + 0x26]
  5525. 000034AA  48C1                     ext.l      D1
  5526. 000034AC  2F01                     move.l     -[A7], D1
  5527. 000034AE  4EBA D248                jsr        [PC - 0x2DB8 /* 000006F8 */]
  5528. 000034B2  4A40                     tst.w      D0
  5529. 000034B4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5530. 000034B8  670A                     beq        +0xC /* 000034C4 */
  5531. 000034BA  302B 0026                move.w     D0, [A3 + 0x26]
  5532. 000034BE  B06C 001A                cmp.w      D0, [A4 + 0x1A]
  5533. 000034C2  6F08                     ble        +0xA /* 000034CC */
  5534. label000034C4:
  5535. 000034C4  3A3C E0B5                move.w     D5, 0xE0B5
  5536. 000034C8  6000 1C14                bra        +0x1C16 /* 000050DE */
  5537. label000034CC:
  5538. 000034CC  7001                     moveq.l    D0, 0x01
  5539. 000034CE  C06B 0026                and.w      D0, [A3 + 0x26]
  5540. 000034D2  7200                     moveq.l    D1, 0x00
  5541. 000034D4  3200                     move.w     D1, D0
  5542. 000034D6  4A81                     tst.l      D1
  5543. 000034D8  6708                     beq        +0xA /* 000034E2 */
  5544. 000034DA  3A3C E0B4                move.w     D5, 0xE0B4
  5545. 000034DE  6000 1BFE                bra        +0x1C00 /* 000050DE */
  5546. label000034E2:
  5547. 000034E2  7001                     moveq.l    D0, 0x01
  5548. 000034E4  C06B 0020                and.w      D0, [A3 + 0x20]
  5549. 000034E8  7200                     moveq.l    D1, 0x00
  5550. 000034EA  3200                     move.w     D1, D0
  5551. 000034EC  4A81                     tst.l      D1
  5552. 000034EE  660E                     bne        +0x10 /* 000034FE */
  5553. 000034F0  7001                     moveq.l    D0, 0x01
  5554. 000034F2  C06B 0020                and.w      D0, [A3 + 0x20]
  5555. 000034F6  7200                     moveq.l    D1, 0x00
  5556. 000034F8  3200                     move.w     D1, D0
  5557. 000034FA  4A81                     tst.l      D1
  5558. 000034FC  6708                     beq        +0xA /* 00003506 */
  5559. label000034FE:
  5560. 000034FE  3A3C E0B3                move.w     D5, 0xE0B3
  5561. 00003502  6000 1BDA                bra        +0x1BDC /* 000050DE */
  5562. label00003506:
  5563. 00003506  4A6B 0028                tst.w      [A3 + 0x28]
  5564. 0000350A  6730                     beq        +0x32 /* 0000353C */
  5565. 0000350C  7001                     moveq.l    D0, 0x01
  5566. 0000350E  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5567. 00003512  6728                     beq        +0x2A /* 0000353C */
  5568. 00003514  7002                     moveq.l    D0, 0x02
  5569. 00003516  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5570. 0000351A  6720                     beq        +0x22 /* 0000353C */
  5571. 0000351C  7004                     moveq.l    D0, 0x04
  5572. 0000351E  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5573. 00003522  6718                     beq        +0x1A /* 0000353C */
  5574. 00003524  7005                     moveq.l    D0, 0x05
  5575. 00003526  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5576. 0000352A  6710                     beq        +0x12 /* 0000353C */
  5577. 0000352C  7006                     moveq.l    D0, 0x06
  5578. 0000352E  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5579. 00003532  6708                     beq        +0xA /* 0000353C */
  5580. 00003534  3A3C E0B2                move.w     D5, 0xE0B2
  5581. 00003538  6000 1BA4                bra        +0x1BA6 /* 000050DE */
  5582. label0000353C:
  5583. 0000353C  2F07                     move.l     -[A7], D7
  5584. 0000353E  4EBA D474                jsr        [PC - 0x2B8C /* 000009B4 */]
  5585. 00003542  3800                     move.w     D4, D0
  5586. 00003544  7004                     moveq.l    D0, 0x04
  5587. 00003546  2F00                     move.l     -[A7], D0
  5588. 00003548  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  5589. 0000354E  7203                     moveq.l    D1, 0x03
  5590. 00003550  2F01                     move.l     -[A7], D1
  5591. 00003552  2F07                     move.l     -[A7], D7
  5592. 00003554  4EBA D5C8                jsr        [PC - 0x2A38 /* 00000B1E */]
  5593. 00003558  4A40                     tst.w      D0
  5594. 0000355A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5595. 0000355E  6652                     bne        +0x54 /* 000035B2 */
  5596. 00003560  4878 03FF                push.l     0x3FF
  5597. 00003564  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  5598. 0000356A  7003                     moveq.l    D0, 0x03
  5599. 0000356C  2F00                     move.l     -[A7], D0
  5600. 0000356E  2F07                     move.l     -[A7], D7
  5601. 00003570  4EBA D54A                jsr        [PC - 0x2AB6 /* 00000ABC */]
  5602. 00003574  3C00                     move.w     D6, D0
  5603. 00003576  48C6                     ext.l      D6
  5604. 00003578  2F0C                     move.l     -[A7], A4
  5605. 0000357A  4EBA D740                jsr        [PC - 0x28C0 /* 00000CBC */]
  5606. 0000357E  48C0                     ext.l      D0
  5607. 00003580  5380                     subq.l     D0, 1
  5608. 00003582  2206                     move.l     D1, D6
  5609. 00003584  9280                     sub.l      D1, D0
  5610. 00003586  588F                     addq.l     A7, 4
  5611. 00003588  2F01                     move.l     -[A7], D1
  5612. 0000358A  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  5613. 00003590  7003                     moveq.l    D0, 0x03
  5614. 00003592  2F00                     move.l     -[A7], D0
  5615. 00003594  2F07                     move.l     -[A7], D7
  5616. 00003596  4EBA D186                jsr        [PC - 0x2E7A /* 0000071E */]
  5617. 0000359A  48C6                     ext.l      D6
  5618. 0000359C  2F06                     move.l     -[A7], D6
  5619. 0000359E  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  5620. 000035A4  7002                     moveq.l    D0, 0x02
  5621. 000035A6  2F00                     move.l     -[A7], D0
  5622. 000035A8  2F07                     move.l     -[A7], D7
  5623. 000035AA  4EBA D172                jsr        [PC - 0x2E8E /* 0000071E */]
  5624. 000035AE  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5625. label000035B2:
  5626. 000035B2  7003                     moveq.l    D0, 0x03
  5627. 000035B4  2F00                     move.l     -[A7], D0
  5628. 000035B6  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  5629. 000035BC  2F00                     move.l     -[A7], D0
  5630. 000035BE  2F07                     move.l     -[A7], D7
  5631. 000035C0  4EBA D55C                jsr        [PC - 0x2AA4 /* 00000B1E */]
  5632. 000035C4  4A40                     tst.w      D0
  5633. 000035C6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5634. 000035CA  6658                     bne        +0x5A /* 00003624 */
  5635. 000035CC  4878 01FF                push.l     0x1FF
  5636. 000035D0  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5637. 000035D6  7003                     moveq.l    D0, 0x03
  5638. 000035D8  2F00                     move.l     -[A7], D0
  5639. 000035DA  2F07                     move.l     -[A7], D7
  5640. 000035DC  4EBA D4DE                jsr        [PC - 0x2B22 /* 00000ABC */]
  5641. 000035E0  3C00                     move.w     D6, D0
  5642. 000035E2  48C6                     ext.l      D6
  5643. 000035E4  2F07                     move.l     -[A7], D7
  5644. 000035E6  4EBA D5E0                jsr        [PC - 0x2A20 /* 00000BC8 */]
  5645. 000035EA  48C0                     ext.l      D0
  5646. 000035EC  5380                     subq.l     D0, 1
  5647. 000035EE  2206                     move.l     D1, D6
  5648. 000035F0  9280                     sub.l      D1, D0
  5649. 000035F2  588F                     addq.l     A7, 4
  5650. 000035F4  2F01                     move.l     -[A7], D1
  5651. 000035F6  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5652. 000035FC  7003                     moveq.l    D0, 0x03
  5653. 000035FE  2F00                     move.l     -[A7], D0
  5654. 00003600  2F07                     move.l     -[A7], D7
  5655. 00003602  4EBA D11A                jsr        [PC - 0x2EE6 /* 0000071E */]
  5656. 00003606  3006                     move.w     D0, D6
  5657. 00003608  E240                     asr        D0.w, 1
  5658. 0000360A  48C0                     ext.l      D0
  5659. 0000360C  5280                     addq.l     D0, 1
  5660. 0000360E  2F00                     move.l     -[A7], D0
  5661. 00003610  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  5662. 00003616  7002                     moveq.l    D0, 0x02
  5663. 00003618  2F00                     move.l     -[A7], D0
  5664. 0000361A  2F07                     move.l     -[A7], D7
  5665. 0000361C  4EBA D100                jsr        [PC - 0x2F00 /* 0000071E */]
  5666. 00003620  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5667. label00003624:
  5668. 00003624  302E FFE8                move.w     D0, [A6 - 0x18]
  5669. 00003628  48C0                     ext.l      D0
  5670. 0000362A  81FC 0002                divs.w     D0, 0x2
  5671. 0000362E  B06B 0026                cmp.w      D0, [A3 + 0x26]
  5672. 00003632  6D00 00AE                blt        +0xB0 /* 000036E2 */
  5673. 00003636  4A6B 0028                tst.w      [A3 + 0x28]
  5674. 0000363A  6708                     beq        +0xA /* 00003644 */
  5675. 0000363C  7004                     moveq.l    D0, 0x04
  5676. 0000363E  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5677. 00003642  661E                     bne        +0x20 /* 00003662 */
  5678. label00003644:
  5679. 00003644  7001                     moveq.l    D0, 0x01
  5680. 00003646  2F00                     move.l     -[A7], D0
  5681. 00003648  7204                     moveq.l    D1, 0x04
  5682. 0000364A  2F01                     move.l     -[A7], D1
  5683. 0000364C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5684. 00003652  7003                     moveq.l    D0, 0x03
  5685. 00003654  2F00                     move.l     -[A7], D0
  5686. 00003656  2F07                     move.l     -[A7], D7
  5687. 00003658  4EBA D116                jsr        [PC - 0x2EEA /* 00000770 */]
  5688. 0000365C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5689. 00003660  601C                     bra        +0x1E /* 0000367E */
  5690. label00003662:
  5691. 00003662  7000                     moveq.l    D0, 0x00
  5692. 00003664  2F00                     move.l     -[A7], D0
  5693. 00003666  7204                     moveq.l    D1, 0x04
  5694. 00003668  2F01                     move.l     -[A7], D1
  5695. 0000366A  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5696. 00003670  7003                     moveq.l    D0, 0x03
  5697. 00003672  2F00                     move.l     -[A7], D0
  5698. 00003674  2F07                     move.l     -[A7], D7
  5699. 00003676  4EBA D0F8                jsr        [PC - 0x2F08 /* 00000770 */]
  5700. 0000367A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5701. label0000367E:
  5702. 0000367E  7001                     moveq.l    D0, 0x01
  5703. 00003680  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5704. 00003684  6708                     beq        +0xA /* 0000368E */
  5705. 00003686  7005                     moveq.l    D0, 0x05
  5706. 00003688  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5707. 0000368C  661C                     bne        +0x1E /* 000036AA */
  5708. label0000368E:
  5709. 0000368E  7001                     moveq.l    D0, 0x01
  5710. 00003690  2F00                     move.l     -[A7], D0
  5711. 00003692  7203                     moveq.l    D1, 0x03
  5712. 00003694  2F01                     move.l     -[A7], D1
  5713. 00003696  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5714. 0000369C  2F01                     move.l     -[A7], D1
  5715. 0000369E  2F07                     move.l     -[A7], D7
  5716. 000036A0  4EBA D0CE                jsr        [PC - 0x2F32 /* 00000770 */]
  5717. 000036A4  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5718. 000036A8  601A                     bra        +0x1C /* 000036C4 */
  5719. label000036AA:
  5720. 000036AA  7000                     moveq.l    D0, 0x00
  5721. 000036AC  2F00                     move.l     -[A7], D0
  5722. 000036AE  7203                     moveq.l    D1, 0x03
  5723. 000036B0  2F01                     move.l     -[A7], D1
  5724. 000036B2  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5725. 000036B8  2F01                     move.l     -[A7], D1
  5726. 000036BA  2F07                     move.l     -[A7], D7
  5727. 000036BC  4EBA D0B2                jsr        [PC - 0x2F4E /* 00000770 */]
  5728. 000036C0  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5729. label000036C4:
  5730. 000036C4  7000                     moveq.l    D0, 0x00
  5731. 000036C6  2F00                     move.l     -[A7], D0
  5732. 000036C8  7209                     moveq.l    D1, 0x09
  5733. 000036CA  2F01                     move.l     -[A7], D1
  5734. 000036CC  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5735. 000036D2  7003                     moveq.l    D0, 0x03
  5736. 000036D4  2F00                     move.l     -[A7], D0
  5737. 000036D6  2F07                     move.l     -[A7], D7
  5738. 000036D8  4EBA D096                jsr        [PC - 0x2F6A /* 00000770 */]
  5739. 000036DC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5740. 000036E0  6074                     bra        +0x76 /* 00003756 */
  5741. label000036E2:
  5742. 000036E2  7000                     moveq.l    D0, 0x00
  5743. 000036E4  2F00                     move.l     -[A7], D0
  5744. 000036E6  7203                     moveq.l    D1, 0x03
  5745. 000036E8  2F01                     move.l     -[A7], D1
  5746. 000036EA  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5747. 000036F0  2F01                     move.l     -[A7], D1
  5748. 000036F2  2F07                     move.l     -[A7], D7
  5749. 000036F4  4EBA D07A                jsr        [PC - 0x2F86 /* 00000770 */]
  5750. 000036F8  7001                     moveq.l    D0, 0x01
  5751. 000036FA  2F00                     move.l     -[A7], D0
  5752. 000036FC  7204                     moveq.l    D1, 0x04
  5753. 000036FE  2F01                     move.l     -[A7], D1
  5754. 00003700  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5755. 00003706  7003                     moveq.l    D0, 0x03
  5756. 00003708  2F00                     move.l     -[A7], D0
  5757. 0000370A  2F07                     move.l     -[A7], D7
  5758. 0000370C  4EBA D062                jsr        [PC - 0x2F9E /* 00000770 */]
  5759. 00003710  7004                     moveq.l    D0, 0x04
  5760. 00003712  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5761. 00003716  4FEF 0028                lea.l      A7, [A7 + 0x28]
  5762. 0000371A  6E1E                     bgt        +0x20 /* 0000373A */
  5763. 0000371C  7001                     moveq.l    D0, 0x01
  5764. 0000371E  2F00                     move.l     -[A7], D0
  5765. 00003720  7209                     moveq.l    D1, 0x09
  5766. 00003722  2F01                     move.l     -[A7], D1
  5767. 00003724  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5768. 0000372A  7003                     moveq.l    D0, 0x03
  5769. 0000372C  2F00                     move.l     -[A7], D0
  5770. 0000372E  2F07                     move.l     -[A7], D7
  5771. 00003730  4EBA D03E                jsr        [PC - 0x2FC2 /* 00000770 */]
  5772. 00003734  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5773. 00003738  601C                     bra        +0x1E /* 00003756 */
  5774. label0000373A:
  5775. 0000373A  7000                     moveq.l    D0, 0x00
  5776. 0000373C  2F00                     move.l     -[A7], D0
  5777. 0000373E  7209                     moveq.l    D1, 0x09
  5778. 00003740  2F01                     move.l     -[A7], D1
  5779. 00003742  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5780. 00003748  7003                     moveq.l    D0, 0x03
  5781. 0000374A  2F00                     move.l     -[A7], D0
  5782. 0000374C  2F07                     move.l     -[A7], D7
  5783. 0000374E  4EBA D020                jsr        [PC - 0x2FE0 /* 00000770 */]
  5784. 00003752  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5785. label00003756:
  5786. 00003756  7062                     moveq.l    D0, 0x62
  5787. 00003758  B06C 0146                cmp.w      D0, [A4 + 0x146]
  5788. 0000375C  6600 00C0                bne        +0xC2 /* 0000381E */
  5789. 00003760  4A6C 0026                tst.w      [A4 + 0x26]
  5790. 00003764  6722                     beq        +0x24 /* 00003788 */
  5791. 00003766  302B 001E                move.w     D0, [A3 + 0x1E]
  5792. 0000376A  48C0                     ext.l      D0
  5793. 0000376C  4C3C 0800 0000           movem.w    A3, 0x0
  5794. 00003772  23C1 D0BC 0000           move.l     [0xD0BC0000], D1
  5795. 00003778  1388 4C7C                move.b     [A1 + D4 * 4 + 0x7C], A0
  5796. 0000377C  0800 0000                btst.b     D0, 0x0
  5797. 00003780  2710                     move.l     -[A3], [A0]
  5798. 00003782  720A                     moveq.l    D1, 0x0A
  5799. 00003784  9081                     sub.l      D0, D1
  5800. 00003786  6020                     bra        +0x22 /* 000037A8 */
  5801. label00003788:
  5802. 00003788  302B 001E                move.w     D0, [A3 + 0x1E]
  5803. 0000378C  48C0                     ext.l      D0
  5804. 0000378E  4C3C 0800 0000           movem.w    A3, 0x0
  5805. 00003794  2AF8 D0BC                move.l     [A5]+, [0xFFFFD0BC]
  5806. 00003798  0000 1388                ori.b      D0, 0x88
  5807. 0000379C  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  5808. 000037A4  7212                     moveq.l    D1, 0x12
  5809. 000037A6  9081                     sub.l      D0, D1
  5810. label000037A8:
  5811. 000037A8  720F                     moveq.l    D1, 0x0F
  5812. 000037AA  9081                     sub.l      D0, D1
  5813. 000037AC  2F00                     move.l     -[A7], D0
  5814. 000037AE  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  5815. 000037B4  7002                     moveq.l    D0, 0x02
  5816. 000037B6  2F00                     move.l     -[A7], D0
  5817. 000037B8  2F07                     move.l     -[A7], D7
  5818. 000037BA  4EBA CF62                jsr        [PC - 0x309E /* 0000071E */]
  5819. 000037BE  4A6C 0026                tst.w      [A4 + 0x26]
  5820. 000037C2  6722                     beq        +0x24 /* 000037E6 */
  5821. 000037C4  302B 0022                move.w     D0, [A3 + 0x22]
  5822. 000037C8  48C0                     ext.l      D0
  5823. 000037CA  4C3C 0800 0000           movem.w    A3, 0x0
  5824. 000037D0  23C1 D0BC 0000           move.l     [0xD0BC0000], D1
  5825. 000037D6  1388 4C7C                move.b     [A1 + D4 * 4 + 0x7C], A0
  5826. 000037DA  0800 0000                btst.b     D0, 0x0
  5827. 000037DE  2710                     move.l     -[A3], [A0]
  5828. 000037E0  720A                     moveq.l    D1, 0x0A
  5829. 000037E2  9081                     sub.l      D0, D1
  5830. 000037E4  6020                     bra        +0x22 /* 00003806 */
  5831. label000037E6:
  5832. 000037E6  302B 0022                move.w     D0, [A3 + 0x22]
  5833. 000037EA  48C0                     ext.l      D0
  5834. 000037EC  4C3C 0800 0000           movem.w    A3, 0x0
  5835. 000037F2  2AF8 D0BC                move.l     [A5]+, [0xFFFFD0BC]
  5836. 000037F6  0000 1388                ori.b      D0, 0x88
  5837. 000037FA  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  5838. 00003802  7212                     moveq.l    D1, 0x12
  5839. 00003804  9081                     sub.l      D0, D1
  5840. label00003806:
  5841. 00003806  2F00                     move.l     -[A7], D0
  5842. 00003808  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5843. 0000380E  7002                     moveq.l    D0, 0x02
  5844. 00003810  2F00                     move.l     -[A7], D0
  5845. 00003812  2F07                     move.l     -[A7], D7
  5846. 00003814  4EBA CF08                jsr        [PC - 0x30F8 /* 0000071E */]
  5847. 00003818  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5848. 0000381C  6038                     bra        +0x3A /* 00003856 */
  5849. label0000381E:
  5850. 0000381E  302B 001E                move.w     D0, [A3 + 0x1E]
  5851. 00003822  48C0                     ext.l      D0
  5852. 00003824  720F                     moveq.l    D1, 0x0F
  5853. 00003826  9081                     sub.l      D0, D1
  5854. 00003828  2F00                     move.l     -[A7], D0
  5855. 0000382A  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  5856. 00003830  7002                     moveq.l    D0, 0x02
  5857. 00003832  2F00                     move.l     -[A7], D0
  5858. 00003834  2F07                     move.l     -[A7], D7
  5859. 00003836  4EBA CEE6                jsr        [PC - 0x311A /* 0000071E */]
  5860. 0000383A  302B 0022                move.w     D0, [A3 + 0x22]
  5861. 0000383E  48C0                     ext.l      D0
  5862. 00003840  2F00                     move.l     -[A7], D0
  5863. 00003842  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5864. 00003848  7002                     moveq.l    D0, 0x02
  5865. 0000384A  2F00                     move.l     -[A7], D0
  5866. 0000384C  2F07                     move.l     -[A7], D7
  5867. 0000384E  4EBA CECE                jsr        [PC - 0x3132 /* 0000071E */]
  5868. 00003852  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5869. label00003856:
  5870. 00003856  396B 0024 0024           move.w     [A4 + 0x24], [A3 + 0x24]
  5871. 0000385C  396B 001E 001C           move.w     [A4 + 0x1C], [A3 + 0x1E]
  5872. 00003862  396B 0022 001E           move.w     [A4 + 0x1E], [A3 + 0x22]
  5873. 00003868  302B 001C                move.w     D0, [A3 + 0x1C]
  5874. 0000386C  48C0                     ext.l      D0
  5875. 0000386E  81FC 0002                divs.w     D0, 0x2
  5876. 00003872  48C0                     ext.l      D0
  5877. 00003874  2F00                     move.l     -[A7], D0
  5878. 00003876  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  5879. 0000387C  7002                     moveq.l    D0, 0x02
  5880. 0000387E  2F00                     move.l     -[A7], D0
  5881. 00003880  2F07                     move.l     -[A7], D7
  5882. 00003882  4EBA CE9A                jsr        [PC - 0x3166 /* 0000071E */]
  5883. 00003886  302B 0020                move.w     D0, [A3 + 0x20]
  5884. 0000388A  48C0                     ext.l      D0
  5885. 0000388C  81FC 0002                divs.w     D0, 0x2
  5886. 00003890  48C0                     ext.l      D0
  5887. 00003892  2F00                     move.l     -[A7], D0
  5888. 00003894  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  5889. 0000389A  7002                     moveq.l    D0, 0x02
  5890. 0000389C  2F00                     move.l     -[A7], D0
  5891. 0000389E  2F07                     move.l     -[A7], D7
  5892. 000038A0  4EBA CE7C                jsr        [PC - 0x3184 /* 0000071E */]
  5893. 000038A4  302B 001C                move.w     D0, [A3 + 0x1C]
  5894. 000038A8  48C0                     ext.l      D0
  5895. 000038AA  81FC 0002                divs.w     D0, 0x2
  5896. 000038AE  3940 0020                move.w     [A4 + 0x20], D0
  5897. 000038B2  302B 0020                move.w     D0, [A3 + 0x20]
  5898. 000038B6  48C0                     ext.l      D0
  5899. 000038B8  81FC 0002                divs.w     D0, 0x2
  5900. 000038BC  3940 0022                move.w     [A4 + 0x22], D0
  5901. 000038C0  302B 0024                move.w     D0, [A3 + 0x24]
  5902. 000038C4  48C0                     ext.l      D0
  5903. 000038C6  2F00                     move.l     -[A7], D0
  5904. 000038C8  2F0C                     move.l     -[A7], A4
  5905. 000038CA  4EBA D046                jsr        [PC - 0x2FBA /* 00000912 */]
  5906. 000038CE  48C0                     ext.l      D0
  5907. 000038D0  508F                     addq.l     A7, 8
  5908. 000038D2  2F00                     move.l     -[A7], D0
  5909. 000038D4  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5910. 000038DA  7002                     moveq.l    D0, 0x02
  5911. 000038DC  2F00                     move.l     -[A7], D0
  5912. 000038DE  2F07                     move.l     -[A7], D7
  5913. 000038E0  4EBA CE3C                jsr        [PC - 0x31C4 /* 0000071E */]
  5914. 000038E4  7062                     moveq.l    D0, 0x62
  5915. 000038E6  B06C 0146                cmp.w      D0, [A4 + 0x146]
  5916. 000038EA  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5917. 000038EE  6600 0214                bne        +0x216 /* 00003B04 */
  5918. 000038F2  7001                     moveq.l    D0, 0x01
  5919. 000038F4  B06C 0026                cmp.w      D0, [A4 + 0x26]
  5920. 000038F8  6600 020A                bne        +0x20C /* 00003B04 */
  5921. 000038FC  302B 0024                move.w     D0, [A3 + 0x24]
  5922. 00003900  48C0                     ext.l      D0
  5923. 00003902  4C3C 0800 0000           movem.w    A3, 0x0
  5924. 00003908  2710                     move.l     -[A3], [A0]
  5925. 0000390A  322E FFE6                move.w     D1, [A6 - 0x1A]
  5926. 0000390E  48C1                     ext.l      D1
  5927. 00003910  4C41 0800                movem.l    A3, D1
  5928. 00003914  0C80 0000 23C1           cmpi.l     D0, 0x23C1
  5929. 0000391A  6D00 01E8                blt        +0x1EA /* 00003B04 */
  5930. 0000391E  302E FFE6                move.w     D0, [A6 - 0x1A]
  5931. 00003922  48C0                     ext.l      D0
  5932. 00003924  4C3C 0800 0000           movem.w    A3, 0x0
  5933. 0000392A  23C1 4C7C 0800           move.l     [0x4C7C0800], D1
  5934. 00003930  0000 2710                ori.b      D0, 0x10
  5935. 00003934  3C2B 0024                move.w     D6, [A3 + 0x24]
  5936. 00003938  9C40                     sub.w      D6, D0
  5937. 0000393A  4878 03FF                push.l     0x3FF
  5938. 0000393E  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5939. 00003944  7002                     moveq.l    D0, 0x02
  5940. 00003946  2F00                     move.l     -[A7], D0
  5941. 00003948  2F07                     move.l     -[A7], D7
  5942. 0000394A  4EBA D170                jsr        [PC - 0x2E90 /* 00000ABC */]
  5943. 0000394E  322C 0012                move.w     D1, [A4 + 0x12]
  5944. 00003952  9240                     sub.w      D1, D0
  5945. 00003954  3D41 FFE4                move.w     [A6 - 0x1C], D1
  5946. 00003958  BC6E FFE4                cmp.w      D6, [A6 - 0x1C]
  5947. 0000395C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5948. 00003960  6E3A                     bgt        +0x3C /* 0000399C */
  5949. 00003962  48C6                     ext.l      D6
  5950. 00003964  2046                     movea.l    A0, D6
  5951. 00003966  2F08                     move.l     -[A7], A0
  5952. 00003968  4878 03FF                push.l     0x3FF
  5953. 0000396C  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5954. 00003972  7002                     moveq.l    D0, 0x02
  5955. 00003974  2F00                     move.l     -[A7], D0
  5956. 00003976  2F07                     move.l     -[A7], D7
  5957. 00003978  4EBA D142                jsr        [PC - 0x2EBE /* 00000ABC */]
  5958. 0000397C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5959. 00003980  205F                     movea.l    A0, [A7]+
  5960. 00003982  D0C0                     add.w      A0, D0
  5961. 00003984  2F08                     move.l     -[A7], A0
  5962. 00003986  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5963. 0000398C  7002                     moveq.l    D0, 0x02
  5964. 0000398E  2F00                     move.l     -[A7], D0
  5965. 00003990  2F07                     move.l     -[A7], D7
  5966. 00003992  4EBA CD8A                jsr        [PC - 0x3276 /* 0000071E */]
  5967. 00003996  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5968. 0000399A  6078                     bra        +0x7A /* 00003A14 */
  5969. label0000399C:
  5970. 0000399C  302E FFE4                move.w     D0, [A6 - 0x1C]
  5971. 000039A0  48C0                     ext.l      D0
  5972. 000039A2  2040                     movea.l    A0, D0
  5973. 000039A4  2F08                     move.l     -[A7], A0
  5974. 000039A6  4878 03FF                push.l     0x3FF
  5975. 000039AA  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5976. 000039B0  7002                     moveq.l    D0, 0x02
  5977. 000039B2  2F00                     move.l     -[A7], D0
  5978. 000039B4  2F07                     move.l     -[A7], D7
  5979. 000039B6  4EBA D104                jsr        [PC - 0x2EFC /* 00000ABC */]
  5980. 000039BA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5981. 000039BE  205F                     movea.l    A0, [A7]+
  5982. 000039C0  D0C0                     add.w      A0, D0
  5983. 000039C2  2F08                     move.l     -[A7], A0
  5984. 000039C4  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5985. 000039CA  7002                     moveq.l    D0, 0x02
  5986. 000039CC  2F00                     move.l     -[A7], D0
  5987. 000039CE  2F07                     move.l     -[A7], D7
  5988. 000039D0  4EBA CD4C                jsr        [PC - 0x32B4 /* 0000071E */]
  5989. 000039D4  302E FFE4                move.w     D0, [A6 - 0x1C]
  5990. 000039D8  48C0                     ext.l      D0
  5991. 000039DA  48C6                     ext.l      D6
  5992. 000039DC  9086                     sub.l      D0, D6
  5993. 000039DE  2040                     movea.l    A0, D0
  5994. 000039E0  2F08                     move.l     -[A7], A0
  5995. 000039E2  4878 03FF                push.l     0x3FF
  5996. 000039E6  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  5997. 000039EC  7002                     moveq.l    D0, 0x02
  5998. 000039EE  2F00                     move.l     -[A7], D0
  5999. 000039F0  2F07                     move.l     -[A7], D7
  6000. 000039F2  4EBA D0C8                jsr        [PC - 0x2F38 /* 00000ABC */]
  6001. 000039F6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6002. 000039FA  205F                     movea.l    A0, [A7]+
  6003. 000039FC  D0C0                     add.w      A0, D0
  6004. 000039FE  2F08                     move.l     -[A7], A0
  6005. 00003A00  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6006. 00003A06  7002                     moveq.l    D0, 0x02
  6007. 00003A08  2F00                     move.l     -[A7], D0
  6008. 00003A0A  2F07                     move.l     -[A7], D7
  6009. 00003A0C  4EBA CD10                jsr        [PC - 0x32F0 /* 0000071E */]
  6010. 00003A10  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6011. label00003A14:
  6012. 00003A14  48C6                     ext.l      D6
  6013. 00003A16  2206                     move.l     D1, D6
  6014. 00003A18  4C3C 1800 0000           movem.w    A3,A4, 0x0
  6015. 00003A1E  23C1 4C7C 1801           move.l     [0x4C7C1801], D1
  6016. 00003A24  0000 4E20                ori.b      D0, 0x20 /* ' ' */
  6017. 00003A28  3C01                     move.w     D6, D1
  6018. 00003A2A  4878 03FF                push.l     0x3FF
  6019. 00003A2E  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6020. 00003A34  7002                     moveq.l    D0, 0x02
  6021. 00003A36  2F00                     move.l     -[A7], D0
  6022. 00003A38  2F07                     move.l     -[A7], D7
  6023. 00003A3A  4EBA D080                jsr        [PC - 0x2F80 /* 00000ABC */]
  6024. 00003A3E  322C 0018                move.w     D1, [A4 + 0x18]
  6025. 00003A42  9240                     sub.w      D1, D0
  6026. 00003A44  3D41 FFE4                move.w     [A6 - 0x1C], D1
  6027. 00003A48  BC6E FFE4                cmp.w      D6, [A6 - 0x1C]
  6028. 00003A4C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6029. 00003A50  6E3A                     bgt        +0x3C /* 00003A8C */
  6030. 00003A52  48C6                     ext.l      D6
  6031. 00003A54  2046                     movea.l    A0, D6
  6032. 00003A56  2F08                     move.l     -[A7], A0
  6033. 00003A58  4878 03FF                push.l     0x3FF
  6034. 00003A5C  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6035. 00003A62  7002                     moveq.l    D0, 0x02
  6036. 00003A64  2F00                     move.l     -[A7], D0
  6037. 00003A66  2F07                     move.l     -[A7], D7
  6038. 00003A68  4EBA D052                jsr        [PC - 0x2FAE /* 00000ABC */]
  6039. 00003A6C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6040. 00003A70  205F                     movea.l    A0, [A7]+
  6041. 00003A72  D0C0                     add.w      A0, D0
  6042. 00003A74  2F08                     move.l     -[A7], A0
  6043. 00003A76  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6044. 00003A7C  7002                     moveq.l    D0, 0x02
  6045. 00003A7E  2F00                     move.l     -[A7], D0
  6046. 00003A80  2F07                     move.l     -[A7], D7
  6047. 00003A82  4EBA CC9A                jsr        [PC - 0x3366 /* 0000071E */]
  6048. 00003A86  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6049. 00003A8A  6078                     bra        +0x7A /* 00003B04 */
  6050. label00003A8C:
  6051. 00003A8C  302E FFE4                move.w     D0, [A6 - 0x1C]
  6052. 00003A90  48C0                     ext.l      D0
  6053. 00003A92  2040                     movea.l    A0, D0
  6054. 00003A94  2F08                     move.l     -[A7], A0
  6055. 00003A96  4878 03FF                push.l     0x3FF
  6056. 00003A9A  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6057. 00003AA0  7002                     moveq.l    D0, 0x02
  6058. 00003AA2  2F00                     move.l     -[A7], D0
  6059. 00003AA4  2F07                     move.l     -[A7], D7
  6060. 00003AA6  4EBA D014                jsr        [PC - 0x2FEC /* 00000ABC */]
  6061. 00003AAA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6062. 00003AAE  205F                     movea.l    A0, [A7]+
  6063. 00003AB0  D0C0                     add.w      A0, D0
  6064. 00003AB2  2F08                     move.l     -[A7], A0
  6065. 00003AB4  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6066. 00003ABA  7002                     moveq.l    D0, 0x02
  6067. 00003ABC  2F00                     move.l     -[A7], D0
  6068. 00003ABE  2F07                     move.l     -[A7], D7
  6069. 00003AC0  4EBA CC5C                jsr        [PC - 0x33A4 /* 0000071E */]
  6070. 00003AC4  302E FFE4                move.w     D0, [A6 - 0x1C]
  6071. 00003AC8  48C0                     ext.l      D0
  6072. 00003ACA  48C6                     ext.l      D6
  6073. 00003ACC  9086                     sub.l      D0, D6
  6074. 00003ACE  2040                     movea.l    A0, D0
  6075. 00003AD0  2F08                     move.l     -[A7], A0
  6076. 00003AD2  4878 03FF                push.l     0x3FF
  6077. 00003AD6  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  6078. 00003ADC  7002                     moveq.l    D0, 0x02
  6079. 00003ADE  2F00                     move.l     -[A7], D0
  6080. 00003AE0  2F07                     move.l     -[A7], D7
  6081. 00003AE2  4EBA CFD8                jsr        [PC - 0x3028 /* 00000ABC */]
  6082. 00003AE6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6083. 00003AEA  205F                     movea.l    A0, [A7]+
  6084. 00003AEC  D0C0                     add.w      A0, D0
  6085. 00003AEE  2F08                     move.l     -[A7], A0
  6086. 00003AF0  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  6087. 00003AF6  7002                     moveq.l    D0, 0x02
  6088. 00003AF8  2F00                     move.l     -[A7], D0
  6089. 00003AFA  2F07                     move.l     -[A7], D7
  6090. 00003AFC  4EBA CC20                jsr        [PC - 0x33E0 /* 0000071E */]
  6091. 00003B00  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6092. label00003B04:
  6093. 00003B04  4878 01FF                push.l     0x1FF
  6094. 00003B08  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  6095. 00003B0E  7002                     moveq.l    D0, 0x02
  6096. 00003B10  2F00                     move.l     -[A7], D0
  6097. 00003B12  2F07                     move.l     -[A7], D7
  6098. 00003B14  4EBA CFA6                jsr        [PC - 0x305A /* 00000ABC */]
  6099. 00003B18  3C3C 0080                move.w     D6, 0x80
  6100. 00003B1C  CC40                     and.w      D6, D0
  6101. 00003B1E  302B 0026                move.w     D0, [A3 + 0x26]
  6102. 00003B22  48C0                     ext.l      D0
  6103. 00003B24  2F00                     move.l     -[A7], D0
  6104. 00003B26  2F07                     move.l     -[A7], D7
  6105. 00003B28  4EBA CD0A                jsr        [PC - 0x32F6 /* 00000834 */]
  6106. 00003B2C  48C0                     ext.l      D0
  6107. 00003B2E  508F                     addq.l     A7, 8
  6108. 00003B30  2F00                     move.l     -[A7], D0
  6109. 00003B32  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  6110. 00003B38  7002                     moveq.l    D0, 0x02
  6111. 00003B3A  2F00                     move.l     -[A7], D0
  6112. 00003B3C  2F07                     move.l     -[A7], D7
  6113. 00003B3E  4EBA CBDE                jsr        [PC - 0x3422 /* 0000071E */]
  6114. 00003B42  4878 01FF                push.l     0x1FF
  6115. 00003B46  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  6116. 00003B4C  7002                     moveq.l    D0, 0x02
  6117. 00003B4E  2F00                     move.l     -[A7], D0
  6118. 00003B50  2F07                     move.l     -[A7], D7
  6119. 00003B52  4EBA CF68                jsr        [PC - 0x3098 /* 00000ABC */]
  6120. 00003B56  323C 0080                move.w     D1, 0x80
  6121. 00003B5A  C240                     and.w      D1, D0
  6122. 00003B5C  7000                     moveq.l    D0, 0x00
  6123. 00003B5E  3001                     move.w     D0, D1
  6124. 00003B60  4A80                     tst.l      D0
  6125. 00003B62  48C6                     ext.l      D6
  6126. 00003B64  BC80                     cmp.l      D6, D0
  6127. 00003B66  4FEF 0030                lea.l      A7, [A7 + 0x30]
  6128. 00003B6A  673C                     beq        +0x3E /* 00003BA8 */
  6129. 00003B6C  7005                     moveq.l    D0, 0x05
  6130. 00003B6E  2F00                     move.l     -[A7], D0
  6131. 00003B70  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6132. 00003B76  7203                     moveq.l    D1, 0x03
  6133. 00003B78  2F01                     move.l     -[A7], D1
  6134. 00003B7A  2F07                     move.l     -[A7], D7
  6135. 00003B7C  4EBA CFA0                jsr        [PC - 0x3060 /* 00000B1E */]
  6136. 00003B80  4A40                     tst.w      D0
  6137. 00003B82  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6138. 00003B86  6704                     beq        +0x6 /* 00003B8C */
  6139. 00003B88  7000                     moveq.l    D0, 0x00
  6140. 00003B8A  6002                     bra        +0x4 /* 00003B8E */
  6141. label00003B8C:
  6142. 00003B8C  7001                     moveq.l    D0, 0x01
  6143. label00003B8E:
  6144. 00003B8E  2F00                     move.l     -[A7], D0
  6145. 00003B90  7005                     moveq.l    D0, 0x05
  6146. 00003B92  2F00                     move.l     -[A7], D0
  6147. 00003B94  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6148. 00003B9A  7203                     moveq.l    D1, 0x03
  6149. 00003B9C  2F01                     move.l     -[A7], D1
  6150. 00003B9E  2F07                     move.l     -[A7], D7
  6151. 00003BA0  4EBA CBCE                jsr        [PC - 0x3432 /* 00000770 */]
  6152. 00003BA4  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6153. label00003BA8:
  6154. 00003BA8  4878 03FF                push.l     0x3FF
  6155. 00003BAC  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6156. 00003BB2  7003                     moveq.l    D0, 0x03
  6157. 00003BB4  2F00                     move.l     -[A7], D0
  6158. 00003BB6  2F07                     move.l     -[A7], D7
  6159. 00003BB8  4EBA CF02                jsr        [PC - 0x30FE /* 00000ABC */]
  6160. 00003BBC  3C00                     move.w     D6, D0
  6161. 00003BBE  7004                     moveq.l    D0, 0x04
  6162. 00003BC0  2F00                     move.l     -[A7], D0
  6163. 00003BC2  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6164. 00003BC8  7203                     moveq.l    D1, 0x03
  6165. 00003BCA  2F01                     move.l     -[A7], D1
  6166. 00003BCC  2F07                     move.l     -[A7], D7
  6167. 00003BCE  4EBA CF4E                jsr        [PC - 0x30B2 /* 00000B1E */]
  6168. 00003BD2  4A40                     tst.w      D0
  6169. 00003BD4  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6170. 00003BD8  663C                     bne        +0x3E /* 00003C16 */
  6171. 00003BDA  48C6                     ext.l      D6
  6172. 00003BDC  2F0C                     move.l     -[A7], A4
  6173. 00003BDE  4EBA D0DC                jsr        [PC - 0x2F24 /* 00000CBC */]
  6174. 00003BE2  48C0                     ext.l      D0
  6175. 00003BE4  D086                     add.l      D0, D6
  6176. 00003BE6  5380                     subq.l     D0, 1
  6177. 00003BE8  588F                     addq.l     A7, 4
  6178. 00003BEA  2F00                     move.l     -[A7], D0
  6179. 00003BEC  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6180. 00003BF2  7003                     moveq.l    D0, 0x03
  6181. 00003BF4  2F00                     move.l     -[A7], D0
  6182. 00003BF6  2F07                     move.l     -[A7], D7
  6183. 00003BF8  4EBA CB24                jsr        [PC - 0x34DC /* 0000071E */]
  6184. 00003BFC  48C6                     ext.l      D6
  6185. 00003BFE  2F06                     move.l     -[A7], D6
  6186. 00003C00  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  6187. 00003C06  7002                     moveq.l    D0, 0x02
  6188. 00003C08  2F00                     move.l     -[A7], D0
  6189. 00003C0A  2F07                     move.l     -[A7], D7
  6190. 00003C0C  4EBA CB10                jsr        [PC - 0x34F0 /* 0000071E */]
  6191. 00003C10  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6192. 00003C14  6026                     bra        +0x28 /* 00003C3C */
  6193. label00003C16:
  6194. 00003C16  48C6                     ext.l      D6
  6195. 00003C18  2F0C                     move.l     -[A7], A4
  6196. 00003C1A  4EBA D0A0                jsr        [PC - 0x2F60 /* 00000CBC */]
  6197. 00003C1E  48C0                     ext.l      D0
  6198. 00003C20  D086                     add.l      D0, D6
  6199. 00003C22  5380                     subq.l     D0, 1
  6200. 00003C24  588F                     addq.l     A7, 4
  6201. 00003C26  2F00                     move.l     -[A7], D0
  6202. 00003C28  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  6203. 00003C2E  7002                     moveq.l    D0, 0x02
  6204. 00003C30  2F00                     move.l     -[A7], D0
  6205. 00003C32  2F07                     move.l     -[A7], D7
  6206. 00003C34  4EBA CAE8                jsr        [PC - 0x3518 /* 0000071E */]
  6207. 00003C38  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6208. label00003C3C:
  6209. 00003C3C  4878 01FF                push.l     0x1FF
  6210. 00003C40  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  6211. 00003C46  7003                     moveq.l    D0, 0x03
  6212. 00003C48  2F00                     move.l     -[A7], D0
  6213. 00003C4A  2F07                     move.l     -[A7], D7
  6214. 00003C4C  4EBA CE6E                jsr        [PC - 0x3192 /* 00000ABC */]
  6215. 00003C50  3C00                     move.w     D6, D0
  6216. 00003C52  7003                     moveq.l    D0, 0x03
  6217. 00003C54  2F00                     move.l     -[A7], D0
  6218. 00003C56  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6219. 00003C5C  2F00                     move.l     -[A7], D0
  6220. 00003C5E  2F07                     move.l     -[A7], D7
  6221. 00003C60  4EBA CEBC                jsr        [PC - 0x3144 /* 00000B1E */]
  6222. 00003C64  4A40                     tst.w      D0
  6223. 00003C66  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6224. 00003C6A  6642                     bne        +0x44 /* 00003CAE */
  6225. 00003C6C  48C6                     ext.l      D6
  6226. 00003C6E  2F07                     move.l     -[A7], D7
  6227. 00003C70  4EBA CF56                jsr        [PC - 0x30AA /* 00000BC8 */]
  6228. 00003C74  48C0                     ext.l      D0
  6229. 00003C76  D086                     add.l      D0, D6
  6230. 00003C78  5380                     subq.l     D0, 1
  6231. 00003C7A  588F                     addq.l     A7, 4
  6232. 00003C7C  2F00                     move.l     -[A7], D0
  6233. 00003C7E  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  6234. 00003C84  7003                     moveq.l    D0, 0x03
  6235. 00003C86  2F00                     move.l     -[A7], D0
  6236. 00003C88  2F07                     move.l     -[A7], D7
  6237. 00003C8A  4EBA CA92                jsr        [PC - 0x356E /* 0000071E */]
  6238. 00003C8E  3006                     move.w     D0, D6
  6239. 00003C90  E240                     asr        D0.w, 1
  6240. 00003C92  48C0                     ext.l      D0
  6241. 00003C94  5380                     subq.l     D0, 1
  6242. 00003C96  2F00                     move.l     -[A7], D0
  6243. 00003C98  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  6244. 00003C9E  7002                     moveq.l    D0, 0x02
  6245. 00003CA0  2F00                     move.l     -[A7], D0
  6246. 00003CA2  2F07                     move.l     -[A7], D7
  6247. 00003CA4  4EBA CA78                jsr        [PC - 0x3588 /* 0000071E */]
  6248. 00003CA8  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6249. 00003CAC  6026                     bra        +0x28 /* 00003CD4 */
  6250. label00003CAE:
  6251. 00003CAE  48C6                     ext.l      D6
  6252. 00003CB0  2F07                     move.l     -[A7], D7
  6253. 00003CB2  4EBA CF14                jsr        [PC - 0x30EC /* 00000BC8 */]
  6254. 00003CB6  48C0                     ext.l      D0
  6255. 00003CB8  D086                     add.l      D0, D6
  6256. 00003CBA  E280                     asr        D0, 1
  6257. 00003CBC  588F                     addq.l     A7, 4
  6258. 00003CBE  2F00                     move.l     -[A7], D0
  6259. 00003CC0  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  6260. 00003CC6  7002                     moveq.l    D0, 0x02
  6261. 00003CC8  2F00                     move.l     -[A7], D0
  6262. 00003CCA  2F07                     move.l     -[A7], D7
  6263. 00003CCC  4EBA CA50                jsr        [PC - 0x35B0 /* 0000071E */]
  6264. 00003CD0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6265. label00003CD4:
  6266. 00003CD4  2F0C                     move.l     -[A7], A4
  6267. 00003CD6  4EBA CFE4                jsr        [PC - 0x301C /* 00000CBC */]
  6268. 00003CDA  3C00                     move.w     D6, D0
  6269. 00003CDC  0C46 0065                cmpi.w     D6, 0x65 /* 'e' */
  6270. 00003CE0  584F                     addq.w     A7, 4
  6271. 00003CE2  6E04                     bgt        +0x6 /* 00003CE8 */
  6272. 00003CE4  7C01                     moveq.l    D6, 0x01
  6273. 00003CE6  6058                     bra        +0x5A /* 00003D40 */
  6274. label00003CE8:
  6275. 00003CE8  0C46 0146                cmpi.w     D6, 0x146
  6276. 00003CEC  6E04                     bgt        +0x6 /* 00003CF2 */
  6277. 00003CEE  7C03                     moveq.l    D6, 0x03
  6278. 00003CF0  604E                     bra        +0x50 /* 00003D40 */
  6279. label00003CF2:
  6280. 00003CF2  0C46 0201                cmpi.w     D6, 0x201
  6281. 00003CF6  6E04                     bgt        +0x6 /* 00003CFC */
  6282. 00003CF8  7C0F                     moveq.l    D6, 0x0F
  6283. 00003CFA  6044                     bra        +0x46 /* 00003D40 */
  6284. label00003CFC:
  6285. 00003CFC  0C46 0231                cmpi.w     D6, 0x231
  6286. 00003D00  6E04                     bgt        +0x6 /* 00003D06 */
  6287. 00003D02  7C1A                     moveq.l    D6, 0x1A
  6288. 00003D04  603A                     bra        +0x3C /* 00003D40 */
  6289. label00003D06:
  6290. 00003D06  0C46 0245                cmpi.w     D6, 0x245
  6291. 00003D0A  6E04                     bgt        +0x6 /* 00003D10 */
  6292. 00003D0C  7C28                     moveq.l    D6, 0x28
  6293. 00003D0E  6030                     bra        +0x32 /* 00003D40 */
  6294. label00003D10:
  6295. 00003D10  0C46 0263                cmpi.w     D6, 0x263
  6296. 00003D14  6E04                     bgt        +0x6 /* 00003D1A */
  6297. 00003D16  7C3C                     moveq.l    D6, 0x3C
  6298. 00003D18  6026                     bra        +0x28 /* 00003D40 */
  6299. label00003D1A:
  6300. 00003D1A  0C46 0279                cmpi.w     D6, 0x279
  6301. 00003D1E  6E04                     bgt        +0x6 /* 00003D24 */
  6302. 00003D20  7C6C                     moveq.l    D6, 0x6C
  6303. 00003D22  601C                     bra        +0x1E /* 00003D40 */
  6304. label00003D24:
  6305. 00003D24  0C46 0281                cmpi.w     D6, 0x281
  6306. 00003D28  6E06                     bgt        +0x8 /* 00003D30 */
  6307. 00003D2A  3C3C 0087                move.w     D6, 0x87
  6308. 00003D2E  6010                     bra        +0x12 /* 00003D40 */
  6309. label00003D30:
  6310. 00003D30  0C46 0287                cmpi.w     D6, 0x287
  6311. 00003D34  6E06                     bgt        +0x8 /* 00003D3C */
  6312. 00003D36  3C3C 00B4                move.w     D6, 0xB4
  6313. 00003D3A  6004                     bra        +0x6 /* 00003D40 */
  6314. label00003D3C:
  6315. 00003D3C  3C3C 00E0                move.w     D6, 0xE0
  6316. label00003D40:
  6317. 00003D40  48C6                     ext.l      D6
  6318. 00003D42  2F06                     move.l     -[A7], D6
  6319. 00003D44  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  6320. 00003D4A  7003                     moveq.l    D0, 0x03
  6321. 00003D4C  2F00                     move.l     -[A7], D0
  6322. 00003D4E  2F07                     move.l     -[A7], D7
  6323. 00003D50  4EBA C9CC                jsr        [PC - 0x3634 /* 0000071E */]
  6324. 00003D54  4A44                     tst.w      D4
  6325. 00003D56  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6326. 00003D5A  6700 1382                beq        +0x1384 /* 000050DE */
  6327. 00003D5E  7001                     moveq.l    D0, 0x01
  6328. 00003D60  2F00                     move.l     -[A7], D0
  6329. 00003D62  7205                     moveq.l    D1, 0x05
  6330. 00003D64  2F01                     move.l     -[A7], D1
  6331. 00003D66  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6332. 00003D6C  7003                     moveq.l    D0, 0x03
  6333. 00003D6E  2F00                     move.l     -[A7], D0
  6334. 00003D70  2F07                     move.l     -[A7], D7
  6335. 00003D72  4EBA C9FC                jsr        [PC - 0x3604 /* 00000770 */]
  6336. 00003D76  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6337. 00003D7A  6000 1362                bra        +0x1364 /* 000050DE */
  6338. label00003D7E:
  6339. 00003D7E  4878 03FF                push.l     0x3FF
  6340. 00003D82  7000                     moveq.l    D0, 0x00
  6341. 00003D84  2F00                     move.l     -[A7], D0
  6342. 00003D86  322B 001E                move.w     D1, [A3 + 0x1E]
  6343. 00003D8A  48C1                     ext.l      D1
  6344. 00003D8C  2F01                     move.l     -[A7], D1
  6345. 00003D8E  4EBA C968                jsr        [PC - 0x3698 /* 000006F8 */]
  6346. 00003D92  4A40                     tst.w      D0
  6347. 00003D94  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6348. 00003D98  671C                     beq        +0x1E /* 00003DB6 */
  6349. 00003D9A  4878 01FF                push.l     0x1FF
  6350. 00003D9E  7000                     moveq.l    D0, 0x00
  6351. 00003DA0  2F00                     move.l     -[A7], D0
  6352. 00003DA2  322B 001C                move.w     D1, [A3 + 0x1C]
  6353. 00003DA6  48C1                     ext.l      D1
  6354. 00003DA8  2F01                     move.l     -[A7], D1
  6355. 00003DAA  4EBA C94C                jsr        [PC - 0x36B4 /* 000006F8 */]
  6356. 00003DAE  4A40                     tst.w      D0
  6357. 00003DB0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6358. 00003DB4  6608                     bne        +0xA /* 00003DBE */
  6359. label00003DB6:
  6360. 00003DB6  3A3C E0B1                move.w     D5, 0xE0B1
  6361. 00003DBA  6000 1322                bra        +0x1324 /* 000050DE */
  6362. label00003DBE:
  6363. 00003DBE  7001                     moveq.l    D0, 0x01
  6364. 00003DC0  C06B 001C                and.w      D0, [A3 + 0x1C]
  6365. 00003DC4  7200                     moveq.l    D1, 0x00
  6366. 00003DC6  3200                     move.w     D1, D0
  6367. 00003DC8  4A81                     tst.l      D1
  6368. 00003DCA  6708                     beq        +0xA /* 00003DD4 */
  6369. 00003DCC  3A3C E0B0                move.w     D5, 0xE0B0
  6370. 00003DD0  6000 130C                bra        +0x130E /* 000050DE */
  6371. label00003DD4:
  6372. 00003DD4  2F07                     move.l     -[A7], D7
  6373. 00003DD6  4EBA CBDC                jsr        [PC - 0x3424 /* 000009B4 */]
  6374. 00003DDA  3800                     move.w     D4, D0
  6375. 00003DDC  7004                     moveq.l    D0, 0x04
  6376. 00003DDE  2F00                     move.l     -[A7], D0
  6377. 00003DE0  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6378. 00003DE6  7203                     moveq.l    D1, 0x03
  6379. 00003DE8  2F01                     move.l     -[A7], D1
  6380. 00003DEA  2F07                     move.l     -[A7], D7
  6381. 00003DEC  4EBA CD30                jsr        [PC - 0x32D0 /* 00000B1E */]
  6382. 00003DF0  4A40                     tst.w      D0
  6383. 00003DF2  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6384. 00003DF6  664C                     bne        +0x4E /* 00003E44 */
  6385. 00003DF8  302B 001E                move.w     D0, [A3 + 0x1E]
  6386. 00003DFC  48C0                     ext.l      D0
  6387. 00003DFE  2D40 FFBE                move.l     [A6 - 0x42], D0
  6388. 00003E02  2F0C                     move.l     -[A7], A4
  6389. 00003E04  4EBA CEB6                jsr        [PC - 0x314A /* 00000CBC */]
  6390. 00003E08  48C0                     ext.l      D0
  6391. 00003E0A  222E FFBE                move.l     D1, [A6 - 0x42]
  6392. 00003E0E  D081                     add.l      D0, D1
  6393. 00003E10  5380                     subq.l     D0, 1
  6394. 00003E12  588F                     addq.l     A7, 4
  6395. 00003E14  2F00                     move.l     -[A7], D0
  6396. 00003E16  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6397. 00003E1C  7003                     moveq.l    D0, 0x03
  6398. 00003E1E  2F00                     move.l     -[A7], D0
  6399. 00003E20  2F07                     move.l     -[A7], D7
  6400. 00003E22  4EBA C8FA                jsr        [PC - 0x3706 /* 0000071E */]
  6401. 00003E26  302B 001E                move.w     D0, [A3 + 0x1E]
  6402. 00003E2A  48C0                     ext.l      D0
  6403. 00003E2C  2F00                     move.l     -[A7], D0
  6404. 00003E2E  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  6405. 00003E34  7002                     moveq.l    D0, 0x02
  6406. 00003E36  2F00                     move.l     -[A7], D0
  6407. 00003E38  2F07                     move.l     -[A7], D7
  6408. 00003E3A  4EBA C8E2                jsr        [PC - 0x371E /* 0000071E */]
  6409. 00003E3E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6410. 00003E42  604A                     bra        +0x4C /* 00003E8E */
  6411. label00003E44:
  6412. 00003E44  302B 001E                move.w     D0, [A3 + 0x1E]
  6413. 00003E48  48C0                     ext.l      D0
  6414. 00003E4A  2F00                     move.l     -[A7], D0
  6415. 00003E4C  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6416. 00003E52  7003                     moveq.l    D0, 0x03
  6417. 00003E54  2F00                     move.l     -[A7], D0
  6418. 00003E56  2F07                     move.l     -[A7], D7
  6419. 00003E58  4EBA C8C4                jsr        [PC - 0x373C /* 0000071E */]
  6420. 00003E5C  302B 001E                move.w     D0, [A3 + 0x1E]
  6421. 00003E60  48C0                     ext.l      D0
  6422. 00003E62  2D40 FFBA                move.l     [A6 - 0x46], D0
  6423. 00003E66  2F0C                     move.l     -[A7], A4
  6424. 00003E68  4EBA CE52                jsr        [PC - 0x31AE /* 00000CBC */]
  6425. 00003E6C  48C0                     ext.l      D0
  6426. 00003E6E  222E FFBA                move.l     D1, [A6 - 0x46]
  6427. 00003E72  D081                     add.l      D0, D1
  6428. 00003E74  5380                     subq.l     D0, 1
  6429. 00003E76  588F                     addq.l     A7, 4
  6430. 00003E78  2F00                     move.l     -[A7], D0
  6431. 00003E7A  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  6432. 00003E80  7002                     moveq.l    D0, 0x02
  6433. 00003E82  2F00                     move.l     -[A7], D0
  6434. 00003E84  2F07                     move.l     -[A7], D7
  6435. 00003E86  4EBA C896                jsr        [PC - 0x376A /* 0000071E */]
  6436. 00003E8A  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6437. label00003E8E:
  6438. 00003E8E  7003                     moveq.l    D0, 0x03
  6439. 00003E90  2F00                     move.l     -[A7], D0
  6440. 00003E92  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6441. 00003E98  2F00                     move.l     -[A7], D0
  6442. 00003E9A  2F07                     move.l     -[A7], D7
  6443. 00003E9C  4EBA CC80                jsr        [PC - 0x3380 /* 00000B1E */]
  6444. 00003EA0  4A40                     tst.w      D0
  6445. 00003EA2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6446. 00003EA6  6650                     bne        +0x52 /* 00003EF8 */
  6447. 00003EA8  302B 001C                move.w     D0, [A3 + 0x1C]
  6448. 00003EAC  48C0                     ext.l      D0
  6449. 00003EAE  2D40 FFB6                move.l     [A6 - 0x4A], D0
  6450. 00003EB2  2F07                     move.l     -[A7], D7
  6451. 00003EB4  4EBA CD12                jsr        [PC - 0x32EE /* 00000BC8 */]
  6452. 00003EB8  48C0                     ext.l      D0
  6453. 00003EBA  222E FFB6                move.l     D1, [A6 - 0x4A]
  6454. 00003EBE  D081                     add.l      D0, D1
  6455. 00003EC0  5380                     subq.l     D0, 1
  6456. 00003EC2  588F                     addq.l     A7, 4
  6457. 00003EC4  2F00                     move.l     -[A7], D0
  6458. 00003EC6  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  6459. 00003ECC  7003                     moveq.l    D0, 0x03
  6460. 00003ECE  2F00                     move.l     -[A7], D0
  6461. 00003ED0  2F07                     move.l     -[A7], D7
  6462. 00003ED2  4EBA C84A                jsr        [PC - 0x37B6 /* 0000071E */]
  6463. 00003ED6  302B 001C                move.w     D0, [A3 + 0x1C]
  6464. 00003EDA  E240                     asr        D0.w, 1
  6465. 00003EDC  48C0                     ext.l      D0
  6466. 00003EDE  5380                     subq.l     D0, 1
  6467. 00003EE0  2F00                     move.l     -[A7], D0
  6468. 00003EE2  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  6469. 00003EE8  7002                     moveq.l    D0, 0x02
  6470. 00003EEA  2F00                     move.l     -[A7], D0
  6471. 00003EEC  2F07                     move.l     -[A7], D7
  6472. 00003EEE  4EBA C82E                jsr        [PC - 0x37D2 /* 0000071E */]
  6473. 00003EF2  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6474. 00003EF6  604A                     bra        +0x4C /* 00003F42 */
  6475. label00003EF8:
  6476. 00003EF8  302B 001C                move.w     D0, [A3 + 0x1C]
  6477. 00003EFC  48C0                     ext.l      D0
  6478. 00003EFE  2F00                     move.l     -[A7], D0
  6479. 00003F00  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  6480. 00003F06  7003                     moveq.l    D0, 0x03
  6481. 00003F08  2F00                     move.l     -[A7], D0
  6482. 00003F0A  2F07                     move.l     -[A7], D7
  6483. 00003F0C  4EBA C810                jsr        [PC - 0x37F0 /* 0000071E */]
  6484. 00003F10  302B 001C                move.w     D0, [A3 + 0x1C]
  6485. 00003F14  48C0                     ext.l      D0
  6486. 00003F16  2D40 FFB2                move.l     [A6 - 0x4E], D0
  6487. 00003F1A  2F07                     move.l     -[A7], D7
  6488. 00003F1C  4EBA CCAA                jsr        [PC - 0x3356 /* 00000BC8 */]
  6489. 00003F20  48C0                     ext.l      D0
  6490. 00003F22  222E FFB2                move.l     D1, [A6 - 0x4E]
  6491. 00003F26  D081                     add.l      D0, D1
  6492. 00003F28  E280                     asr        D0, 1
  6493. 00003F2A  588F                     addq.l     A7, 4
  6494. 00003F2C  2F00                     move.l     -[A7], D0
  6495. 00003F2E  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  6496. 00003F34  7002                     moveq.l    D0, 0x02
  6497. 00003F36  2F00                     move.l     -[A7], D0
  6498. 00003F38  2F07                     move.l     -[A7], D7
  6499. 00003F3A  4EBA C7E2                jsr        [PC - 0x381E /* 0000071E */]
  6500. 00003F3E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6501. label00003F42:
  6502. 00003F42  4A44                     tst.w      D4
  6503. 00003F44  6700 1198                beq        +0x119A /* 000050DE */
  6504. 00003F48  7001                     moveq.l    D0, 0x01
  6505. 00003F4A  2F00                     move.l     -[A7], D0
  6506. 00003F4C  7205                     moveq.l    D1, 0x05
  6507. 00003F4E  2F01                     move.l     -[A7], D1
  6508. 00003F50  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6509. 00003F56  7003                     moveq.l    D0, 0x03
  6510. 00003F58  2F00                     move.l     -[A7], D0
  6511. 00003F5A  2F07                     move.l     -[A7], D7
  6512. 00003F5C  4EBA C812                jsr        [PC - 0x37EE /* 00000770 */]
  6513. 00003F60  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6514. 00003F64  6000 1178                bra        +0x117A /* 000050DE */
  6515. label00003F68:
  6516. 00003F68  4878 00FF                push.l     0xFF
  6517. 00003F6C  7000                     moveq.l    D0, 0x00
  6518. 00003F6E  2F00                     move.l     -[A7], D0
  6519. 00003F70  322B 001C                move.w     D1, [A3 + 0x1C]
  6520. 00003F74  48C1                     ext.l      D1
  6521. 00003F76  2F01                     move.l     -[A7], D1
  6522. 00003F78  4EBA C77E                jsr        [PC - 0x3882 /* 000006F8 */]
  6523. 00003F7C  4A40                     tst.w      D0
  6524. 00003F7E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6525. 00003F82  6720                     beq        +0x22 /* 00003FA4 */
  6526. 00003F84  302B 001C                move.w     D0, [A3 + 0x1C]
  6527. 00003F88  48C0                     ext.l      D0
  6528. 00003F8A  2F00                     move.l     -[A7], D0
  6529. 00003F8C  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  6530. 00003F92  7003                     moveq.l    D0, 0x03
  6531. 00003F94  2F00                     move.l     -[A7], D0
  6532. 00003F96  2F07                     move.l     -[A7], D7
  6533. 00003F98  4EBA C784                jsr        [PC - 0x387C /* 0000071E */]
  6534. 00003F9C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6535. 00003FA0  6000 113C                bra        +0x113E /* 000050DE */
  6536. label00003FA4:
  6537. 00003FA4  3A3C E0AF                move.w     D5, 0xE0AF
  6538. 00003FA8  6000 1134                bra        +0x1136 /* 000050DE */
  6539. label00003FAC:
  6540. 00003FAC  4A6B 001C                tst.w      [A3 + 0x1C]
  6541. 00003FB0  57C3                     seq        D3
  6542. 00003FB2  4403                     neg.b      D3
  6543. 00003FB4  49C3                     lea.l      A4, D3
  6544. 00003FB6  2F03                     move.l     -[A7], D3
  6545. 00003FB8  7002                     moveq.l    D0, 0x02
  6546. 00003FBA  2F00                     move.l     -[A7], D0
  6547. 00003FBC  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6548. 00003FC2  7203                     moveq.l    D1, 0x03
  6549. 00003FC4  2F01                     move.l     -[A7], D1
  6550. 00003FC6  2F07                     move.l     -[A7], D7
  6551. 00003FC8  4EBA C7A6                jsr        [PC - 0x385A /* 00000770 */]
  6552. 00003FCC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6553. 00003FD0  6000 110C                bra        +0x110E /* 000050DE */
  6554. label00003FD4:
  6555. 00003FD4  4A6B 001C                tst.w      [A3 + 0x1C]
  6556. 00003FD8  57C3                     seq        D3
  6557. 00003FDA  4403                     neg.b      D3
  6558. 00003FDC  49C3                     lea.l      A4, D3
  6559. 00003FDE  2F03                     move.l     -[A7], D3
  6560. 00003FE0  7001                     moveq.l    D0, 0x01
  6561. 00003FE2  2F00                     move.l     -[A7], D0
  6562. 00003FE4  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6563. 00003FEA  7203                     moveq.l    D1, 0x03
  6564. 00003FEC  2F01                     move.l     -[A7], D1
  6565. 00003FEE  2F07                     move.l     -[A7], D7
  6566. 00003FF0  4EBA C77E                jsr        [PC - 0x3882 /* 00000770 */]
  6567. 00003FF4  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6568. 00003FF8  6000 10E4                bra        +0x10E6 /* 000050DE */
  6569. label00003FFC:
  6570. 00003FFC  4A6B 001C                tst.w      [A3 + 0x1C]
  6571. 00004000  57C3                     seq        D3
  6572. 00004002  4403                     neg.b      D3
  6573. 00004004  49C3                     lea.l      A4, D3
  6574. 00004006  2F03                     move.l     -[A7], D3
  6575. 00004008  7000                     moveq.l    D0, 0x00
  6576. 0000400A  2F00                     move.l     -[A7], D0
  6577. 0000400C  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6578. 00004012  7203                     moveq.l    D1, 0x03
  6579. 00004014  2F01                     move.l     -[A7], D1
  6580. 00004016  2F07                     move.l     -[A7], D7
  6581. 00004018  4EBA C756                jsr        [PC - 0x38AA /* 00000770 */]
  6582. 0000401C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6583. 00004020  6000 10BC                bra        +0x10BE /* 000050DE */
  6584. label00004024:
  6585. 00004024  302B 001C                move.w     D0, [A3 + 0x1C]
  6586. 00004028  48C0                     ext.l      D0
  6587. 0000402A  2F00                     move.l     -[A7], D0
  6588. 0000402C  7001                     moveq.l    D0, 0x01
  6589. 0000402E  2F00                     move.l     -[A7], D0
  6590. 00004030  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6591. 00004036  7203                     moveq.l    D1, 0x03
  6592. 00004038  2F01                     move.l     -[A7], D1
  6593. 0000403A  2F07                     move.l     -[A7], D7
  6594. 0000403C  4EBA C732                jsr        [PC - 0x38CE /* 00000770 */]
  6595. 00004040  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6596. 00004044  6000 1098                bra        +0x109A /* 000050DE */
  6597. label00004048:
  6598. 00004048  4A6B 001C                tst.w      [A3 + 0x1C]
  6599. 0000404C  671C                     beq        +0x1E /* 0000406A */
  6600. 0000404E  206E FFC6                movea.l    A0, [A6 - 0x3A]
  6601. 00004052  7000                     moveq.l    D0, 0x00
  6602. 00004054  3028 0708                move.w     D0, [A0 + 0x708]
  6603. 00004058  4A80                     tst.l      D0
  6604. 0000405A  0C80 0000 0084           cmpi.l     D0, 0x84
  6605. 00004060  6708                     beq        +0xA /* 0000406A */
  6606. 00004062  3A3C E0AD                move.w     D5, 0xE0AD
  6607. 00004066  6000 1076                bra        +0x1078 /* 000050DE */
  6608. label0000406A:
  6609. 0000406A  7001                     moveq.l    D0, 0x01
  6610. 0000406C  2F00                     move.l     -[A7], D0
  6611. 0000406E  7202                     moveq.l    D1, 0x02
  6612. 00004070  2F01                     move.l     -[A7], D1
  6613. 00004072  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6614. 00004078  7003                     moveq.l    D0, 0x03
  6615. 0000407A  2F00                     move.l     -[A7], D0
  6616. 0000407C  2F07                     move.l     -[A7], D7
  6617. 0000407E  4EBA C6F0                jsr        [PC - 0x3910 /* 00000770 */]
  6618. 00004082  7000                     moveq.l    D0, 0x00
  6619. 00004084  2F00                     move.l     -[A7], D0
  6620. 00004086  7208                     moveq.l    D1, 0x08
  6621. 00004088  2F01                     move.l     -[A7], D1
  6622. 0000408A  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6623. 00004090  7003                     moveq.l    D0, 0x03
  6624. 00004092  2F00                     move.l     -[A7], D0
  6625. 00004094  2F07                     move.l     -[A7], D7
  6626. 00004096  4EBA C6D8                jsr        [PC - 0x3928 /* 00000770 */]
  6627. 0000409A  302B 001C                move.w     D0, [A3 + 0x1C]
  6628. 0000409E  48C0                     ext.l      D0
  6629. 000040A0  2F00                     move.l     -[A7], D0
  6630. 000040A2  7005                     moveq.l    D0, 0x05
  6631. 000040A4  2F00                     move.l     -[A7], D0
  6632. 000040A6  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6633. 000040AC  7203                     moveq.l    D1, 0x03
  6634. 000040AE  2F01                     move.l     -[A7], D1
  6635. 000040B0  2F07                     move.l     -[A7], D7
  6636. 000040B2  4EBA C6BC                jsr        [PC - 0x3944 /* 00000770 */]
  6637. 000040B6  4A6B 001C                tst.w      [A3 + 0x1C]
  6638. 000040BA  4FEF 003C                lea.l      A7, [A7 + 0x3C]
  6639. 000040BE  6600 101E                bne        +0x1020 /* 000050DE */
  6640. 000040C2  4A6B 001E                tst.w      [A3 + 0x1E]
  6641. 000040C6  6700 1016                beq        +0x1018 /* 000050DE */
  6642. 000040CA  7000                     moveq.l    D0, 0x00
  6643. 000040CC  2D40 FFF0                move.l     [A6 - 0x10], D0
  6644. 000040D0  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6645. 000040D4  2049                     movea.l    A0, A1
  6646. 000040D6  A058                     syscall    InsTime
  6647. 000040D8  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6648. 000040DC  2049                     movea.l    A0, A1
  6649. 000040DE  203C FFFE A070           move.l     D0, 0xFFFEA070
  6650. 000040E4  A05A                     syscall    PrimeTime
  6651. 000040E6  601C                     bra        +0x1E /* 00004104 */
  6652. label000040E8:
  6653. 000040E8  7000                     moveq.l    D0, 0x00
  6654. 000040EA  2F00                     move.l     -[A7], D0
  6655. 000040EC  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6656. 000040F2  7203                     moveq.l    D1, 0x03
  6657. 000040F4  2F01                     move.l     -[A7], D1
  6658. 000040F6  2F07                     move.l     -[A7], D7
  6659. 000040F8  4EBA CA24                jsr        [PC - 0x35DC /* 00000B1E */]
  6660. 000040FC  4A40                     tst.w      D0
  6661. 000040FE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6662. 00004102  6706                     beq        +0x8 /* 0000410A */
  6663. label00004104:
  6664. 00004104  4A6E FFEE                tst.w      [A6 - 0x12]
  6665. 00004108  6DDE                     blt        -0x20 /* 000040E8 */
  6666. label0000410A:
  6667. 0000410A  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6668. 0000410E  2049                     movea.l    A0, A1
  6669. 00004110  A059                     syscall    RmvTime
  6670. 00004112  4AAE FFF4                tst.l      [A6 - 0xC]
  6671. 00004116  6600 0FC6                bne        +0xFC8 /* 000050DE */
  6672. 0000411A  7001                     moveq.l    D0, 0x01
  6673. 0000411C  2F00                     move.l     -[A7], D0
  6674. 0000411E  7208                     moveq.l    D1, 0x08
  6675. 00004120  2F01                     move.l     -[A7], D1
  6676. 00004122  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6677. 00004128  7003                     moveq.l    D0, 0x03
  6678. 0000412A  2F00                     move.l     -[A7], D0
  6679. 0000412C  2F07                     move.l     -[A7], D7
  6680. 0000412E  4EBA C640                jsr        [PC - 0x39C0 /* 00000770 */]
  6681. 00004132  3A3C E0AE                move.w     D5, 0xE0AE
  6682. 00004136  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6683. 0000413A  6000 0FA2                bra        +0xFA4 /* 000050DE */
  6684. label0000413E:
  6685. 0000413E  206E FFC6                movea.l    A0, [A6 - 0x3A]
  6686. 00004142  7000                     moveq.l    D0, 0x00
  6687. 00004144  3028 0708                move.w     D0, [A0 + 0x708]
  6688. 00004148  4A80                     tst.l      D0
  6689. 0000414A  0C80 0000 0084           cmpi.l     D0, 0x84
  6690. 00004150  6708                     beq        +0xA /* 0000415A */
  6691. 00004152  3A3C E0AD                move.w     D5, 0xE0AD
  6692. 00004156  6000 0F86                bra        +0xF88 /* 000050DE */
  6693. label0000415A:
  6694. 0000415A  7000                     moveq.l    D0, 0x00
  6695. 0000415C  2F00                     move.l     -[A7], D0
  6696. 0000415E  7208                     moveq.l    D1, 0x08
  6697. 00004160  2F01                     move.l     -[A7], D1
  6698. 00004162  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6699. 00004168  7003                     moveq.l    D0, 0x03
  6700. 0000416A  2F00                     move.l     -[A7], D0
  6701. 0000416C  2F07                     move.l     -[A7], D7
  6702. 0000416E  4EBA C600                jsr        [PC - 0x3A00 /* 00000770 */]
  6703. 00004172  4A6B 001C                tst.w      [A3 + 0x1C]
  6704. 00004176  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6705. 0000417A  6700 018C                beq        +0x18E /* 00004308 */
  6706. 0000417E  7004                     moveq.l    D0, 0x04
  6707. 00004180  2F00                     move.l     -[A7], D0
  6708. 00004182  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6709. 00004188  7203                     moveq.l    D1, 0x03
  6710. 0000418A  2F01                     move.l     -[A7], D1
  6711. 0000418C  2F07                     move.l     -[A7], D7
  6712. 0000418E  4EBA C98E                jsr        [PC - 0x3672 /* 00000B1E */]
  6713. 00004192  4A40                     tst.w      D0
  6714. 00004194  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6715. 00004198  6700 00AA                beq        +0xAC /* 00004244 */
  6716. 0000419C  7000                     moveq.l    D0, 0x00
  6717. 0000419E  2F00                     move.l     -[A7], D0
  6718. 000041A0  7202                     moveq.l    D1, 0x02
  6719. 000041A2  2F01                     move.l     -[A7], D1
  6720. 000041A4  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6721. 000041AA  7003                     moveq.l    D0, 0x03
  6722. 000041AC  2F00                     move.l     -[A7], D0
  6723. 000041AE  2F07                     move.l     -[A7], D7
  6724. 000041B0  4EBA C5BE                jsr        [PC - 0x3A42 /* 00000770 */]
  6725. 000041B4  7001                     moveq.l    D0, 0x01
  6726. 000041B6  2F00                     move.l     -[A7], D0
  6727. 000041B8  7205                     moveq.l    D1, 0x05
  6728. 000041BA  2F01                     move.l     -[A7], D1
  6729. 000041BC  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6730. 000041C2  7003                     moveq.l    D0, 0x03
  6731. 000041C4  2F00                     move.l     -[A7], D0
  6732. 000041C6  2F07                     move.l     -[A7], D7
  6733. 000041C8  4EBA C5A6                jsr        [PC - 0x3A5A /* 00000770 */]
  6734. 000041CC  7000                     moveq.l    D0, 0x00
  6735. 000041CE  2D40 FFF0                move.l     [A6 - 0x10], D0
  6736. 000041D2  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6737. 000041D6  2049                     movea.l    A0, A1
  6738. 000041D8  A058                     syscall    InsTime
  6739. 000041DA  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6740. 000041DE  2049                     movea.l    A0, A1
  6741. 000041E0  203C FFFE A070           move.l     D0, 0xFFFEA070
  6742. 000041E6  A05A                     syscall    PrimeTime
  6743. 000041E8  4FEF 0028                lea.l      A7, [A7 + 0x28]
  6744. 000041EC  601C                     bra        +0x1E /* 0000420A */
  6745. label000041EE:
  6746. 000041EE  7000                     moveq.l    D0, 0x00
  6747. 000041F0  2F00                     move.l     -[A7], D0
  6748. 000041F2  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6749. 000041F8  7203                     moveq.l    D1, 0x03
  6750. 000041FA  2F01                     move.l     -[A7], D1
  6751. 000041FC  2F07                     move.l     -[A7], D7
  6752. 000041FE  4EBA C91E                jsr        [PC - 0x36E2 /* 00000B1E */]
  6753. 00004202  4A40                     tst.w      D0
  6754. 00004204  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6755. 00004208  6706                     beq        +0x8 /* 00004210 */
  6756. label0000420A:
  6757. 0000420A  4A6E FFEE                tst.w      [A6 - 0x12]
  6758. 0000420E  6DDE                     blt        -0x20 /* 000041EE */
  6759. label00004210:
  6760. 00004210  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6761. 00004214  2049                     movea.l    A0, A1
  6762. 00004216  A059                     syscall    RmvTime
  6763. 00004218  4AAE FFF4                tst.l      [A6 - 0xC]
  6764. 0000421C  6600 0EC0                bne        +0xEC2 /* 000050DE */
  6765. 00004220  7001                     moveq.l    D0, 0x01
  6766. 00004222  2F00                     move.l     -[A7], D0
  6767. 00004224  7208                     moveq.l    D1, 0x08
  6768. 00004226  2F01                     move.l     -[A7], D1
  6769. 00004228  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6770. 0000422E  7003                     moveq.l    D0, 0x03
  6771. 00004230  2F00                     move.l     -[A7], D0
  6772. 00004232  2F07                     move.l     -[A7], D7
  6773. 00004234  4EBA C53A                jsr        [PC - 0x3AC6 /* 00000770 */]
  6774. 00004238  3A3C E0AE                move.w     D5, 0xE0AE
  6775. 0000423C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6776. 00004240  6000 0E9C                bra        +0xE9E /* 000050DE */
  6777. label00004244:
  6778. 00004244  7802                     moveq.l    D4, 0x02
  6779. label00004246:
  6780. 00004246  7001                     moveq.l    D0, 0x01
  6781. 00004248  2F00                     move.l     -[A7], D0
  6782. 0000424A  7205                     moveq.l    D1, 0x05
  6783. 0000424C  2F01                     move.l     -[A7], D1
  6784. 0000424E  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6785. 00004254  7003                     moveq.l    D0, 0x03
  6786. 00004256  2F00                     move.l     -[A7], D0
  6787. 00004258  2F07                     move.l     -[A7], D7
  6788. 0000425A  4EBA C514                jsr        [PC - 0x3AEC /* 00000770 */]
  6789. 0000425E  7001                     moveq.l    D0, 0x01
  6790. 00004260  2F00                     move.l     -[A7], D0
  6791. 00004262  2F0C                     move.l     -[A7], A4
  6792. 00004264  4EBA CB2E                jsr        [PC - 0x34D2 /* 00000D94 */]
  6793. 00004268  3A00                     move.w     D5, D0
  6794. 0000426A  7000                     moveq.l    D0, 0x00
  6795. 0000426C  2F00                     move.l     -[A7], D0
  6796. 0000426E  7205                     moveq.l    D1, 0x05
  6797. 00004270  2F01                     move.l     -[A7], D1
  6798. 00004272  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6799. 00004278  7003                     moveq.l    D0, 0x03
  6800. 0000427A  2F00                     move.l     -[A7], D0
  6801. 0000427C  2F07                     move.l     -[A7], D7
  6802. 0000427E  4EBA C4F0                jsr        [PC - 0x3B10 /* 00000770 */]
  6803. 00004282  7000                     moveq.l    D0, 0x00
  6804. 00004284  2F00                     move.l     -[A7], D0
  6805. 00004286  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6806. 0000428C  7203                     moveq.l    D1, 0x03
  6807. 0000428E  2F01                     move.l     -[A7], D1
  6808. 00004290  2F07                     move.l     -[A7], D7
  6809. 00004292  4EBA C88A                jsr        [PC - 0x3776 /* 00000B1E */]
  6810. 00004296  4A40                     tst.w      D0
  6811. 00004298  4FEF 0040                lea.l      A7, [A7 + 0x40]
  6812. 0000429C  6616                     bne        +0x18 /* 000042B4 */
  6813. 0000429E  7000                     moveq.l    D0, 0x00
  6814. 000042A0  2F00                     move.l     -[A7], D0
  6815. 000042A2  2F0C                     move.l     -[A7], A4
  6816. 000042A4  4EBA CAEE                jsr        [PC - 0x3512 /* 00000D94 */]
  6817. 000042A8  3A00                     move.w     D5, D0
  6818. 000042AA  504F                     addq.w     A7, 8
  6819. 000042AC  3004                     move.w     D0, D4
  6820. 000042AE  5244                     addq.w     D4, 1
  6821. 000042B0  4A44                     tst.w      D4
  6822. 000042B2  6C92                     bge        -0x6C /* 00004246 */
  6823. label000042B4:
  6824. 000042B4  4A44                     tst.w      D4
  6825. 000042B6  6D2C                     blt        +0x2E /* 000042E4 */
  6826. 000042B8  7000                     moveq.l    D0, 0x00
  6827. 000042BA  2F00                     move.l     -[A7], D0
  6828. 000042BC  2F0C                     move.l     -[A7], A4
  6829. 000042BE  4EBA CAD4                jsr        [PC - 0x352C /* 00000D94 */]
  6830. 000042C2  3A00                     move.w     D5, D0
  6831. 000042C4  7001                     moveq.l    D0, 0x01
  6832. 000042C6  2F00                     move.l     -[A7], D0
  6833. 000042C8  7208                     moveq.l    D1, 0x08
  6834. 000042CA  2F01                     move.l     -[A7], D1
  6835. 000042CC  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6836. 000042D2  7003                     moveq.l    D0, 0x03
  6837. 000042D4  2F00                     move.l     -[A7], D0
  6838. 000042D6  2F07                     move.l     -[A7], D7
  6839. 000042D8  4EBA C496                jsr        [PC - 0x3B6A /* 00000770 */]
  6840. 000042DC  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6841. 000042E0  6000 0DFC                bra        +0xDFE /* 000050DE */
  6842. label000042E4:
  6843. 000042E4  7001                     moveq.l    D0, 0x01
  6844. 000042E6  2F00                     move.l     -[A7], D0
  6845. 000042E8  7208                     moveq.l    D1, 0x08
  6846. 000042EA  2F01                     move.l     -[A7], D1
  6847. 000042EC  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6848. 000042F2  7003                     moveq.l    D0, 0x03
  6849. 000042F4  2F00                     move.l     -[A7], D0
  6850. 000042F6  2F07                     move.l     -[A7], D7
  6851. 000042F8  4EBA C476                jsr        [PC - 0x3B8A /* 00000770 */]
  6852. 000042FC  3A3C E094                move.w     D5, 0xE094
  6853. 00004300  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6854. 00004304  6000 0DD8                bra        +0xDDA /* 000050DE */
  6855. label00004308:
  6856. 00004308  7000                     moveq.l    D0, 0x00
  6857. 0000430A  2F00                     move.l     -[A7], D0
  6858. 0000430C  7202                     moveq.l    D1, 0x02
  6859. 0000430E  2F01                     move.l     -[A7], D1
  6860. 00004310  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6861. 00004316  7003                     moveq.l    D0, 0x03
  6862. 00004318  2F00                     move.l     -[A7], D0
  6863. 0000431A  2F07                     move.l     -[A7], D7
  6864. 0000431C  4EBA C452                jsr        [PC - 0x3BAE /* 00000770 */]
  6865. 00004320  7001                     moveq.l    D0, 0x01
  6866. 00004322  2F00                     move.l     -[A7], D0
  6867. 00004324  7205                     moveq.l    D1, 0x05
  6868. 00004326  2F01                     move.l     -[A7], D1
  6869. 00004328  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6870. 0000432E  7003                     moveq.l    D0, 0x03
  6871. 00004330  2F00                     move.l     -[A7], D0
  6872. 00004332  2F07                     move.l     -[A7], D7
  6873. 00004334  4EBA C43A                jsr        [PC - 0x3BC6 /* 00000770 */]
  6874. 00004338  4FEF 0028                lea.l      A7, [A7 + 0x28]
  6875. 0000433C  6000 0DA0                bra        +0xDA2 /* 000050DE */
  6876. label00004340:
  6877. 00004340  2F0C                     move.l     -[A7], A4
  6878. 00004342  4EBA CABC                jsr        [PC - 0x3544 /* 00000E00 */]
  6879. 00004346  2F0C                     move.l     -[A7], A4
  6880. 00004348  4EBA CEDE                jsr        [PC - 0x3122 /* 00001228 */]
  6881. 0000434C  2F0C                     move.l     -[A7], A4
  6882. 0000434E  4EBA D196                jsr        [PC - 0x2E6A /* 000014E6 */]
  6883. 00004352  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6884. 00004356  6000 0D86                bra        +0xD88 /* 000050DE */
  6885. label0000435A:
  6886. 0000435A  2F07                     move.l     -[A7], D7
  6887. 0000435C  4EBA C656                jsr        [PC - 0x39AA /* 000009B4 */]
  6888. 00004360  3800                     move.w     D4, D0
  6889. 00004362  7004                     moveq.l    D0, 0x04
  6890. 00004364  2F00                     move.l     -[A7], D0
  6891. 00004366  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6892. 0000436C  7203                     moveq.l    D1, 0x03
  6893. 0000436E  2F01                     move.l     -[A7], D1
  6894. 00004370  2F07                     move.l     -[A7], D7
  6895. 00004372  4EBA C7AA                jsr        [PC - 0x3856 /* 00000B1E */]
  6896. 00004376  7201                     moveq.l    D1, 0x01
  6897. 00004378  B340                     xor.w      D0, D1
  6898. 0000437A  48C0                     ext.l      D0
  6899. 0000437C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6900. 00004380  2F00                     move.l     -[A7], D0
  6901. 00004382  7004                     moveq.l    D0, 0x04
  6902. 00004384  2F00                     move.l     -[A7], D0
  6903. 00004386  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6904. 0000438C  7203                     moveq.l    D1, 0x03
  6905. 0000438E  2F01                     move.l     -[A7], D1
  6906. 00004390  2F07                     move.l     -[A7], D7
  6907. 00004392  4EBA C3DC                jsr        [PC - 0x3C24 /* 00000770 */]
  6908. 00004396  4878 03FF                push.l     0x3FF
  6909. 0000439A  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6910. 000043A0  7003                     moveq.l    D0, 0x03
  6911. 000043A2  2F00                     move.l     -[A7], D0
  6912. 000043A4  2F07                     move.l     -[A7], D7
  6913. 000043A6  4EBA C714                jsr        [PC - 0x38EC /* 00000ABC */]
  6914. 000043AA  3C00                     move.w     D6, D0
  6915. 000043AC  7004                     moveq.l    D0, 0x04
  6916. 000043AE  2F00                     move.l     -[A7], D0
  6917. 000043B0  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6918. 000043B6  7203                     moveq.l    D1, 0x03
  6919. 000043B8  2F01                     move.l     -[A7], D1
  6920. 000043BA  2F07                     move.l     -[A7], D7
  6921. 000043BC  4EBA C760                jsr        [PC - 0x38A0 /* 00000B1E */]
  6922. 000043C0  4A40                     tst.w      D0
  6923. 000043C2  4FEF 0038                lea.l      A7, [A7 + 0x38]
  6924. 000043C6  6628                     bne        +0x2A /* 000043F0 */
  6925. 000043C8  48C6                     ext.l      D6
  6926. 000043CA  2F0C                     move.l     -[A7], A4
  6927. 000043CC  4EBA C8EE                jsr        [PC - 0x3712 /* 00000CBC */]
  6928. 000043D0  48C0                     ext.l      D0
  6929. 000043D2  5380                     subq.l     D0, 1
  6930. 000043D4  D086                     add.l      D0, D6
  6931. 000043D6  588F                     addq.l     A7, 4
  6932. 000043D8  2F00                     move.l     -[A7], D0
  6933. 000043DA  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6934. 000043E0  7003                     moveq.l    D0, 0x03
  6935. 000043E2  2F00                     move.l     -[A7], D0
  6936. 000043E4  2F07                     move.l     -[A7], D7
  6937. 000043E6  4EBA C336                jsr        [PC - 0x3CCA /* 0000071E */]
  6938. 000043EA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6939. 000043EE  6028                     bra        +0x2A /* 00004418 */
  6940. label000043F0:
  6941. 000043F0  48C6                     ext.l      D6
  6942. 000043F2  2F0C                     move.l     -[A7], A4
  6943. 000043F4  4EBA C8C6                jsr        [PC - 0x373A /* 00000CBC */]
  6944. 000043F8  48C0                     ext.l      D0
  6945. 000043FA  5380                     subq.l     D0, 1
  6946. 000043FC  2206                     move.l     D1, D6
  6947. 000043FE  9280                     sub.l      D1, D0
  6948. 00004400  588F                     addq.l     A7, 4
  6949. 00004402  2F01                     move.l     -[A7], D1
  6950. 00004404  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6951. 0000440A  7003                     moveq.l    D0, 0x03
  6952. 0000440C  2F00                     move.l     -[A7], D0
  6953. 0000440E  2F07                     move.l     -[A7], D7
  6954. 00004410  4EBA C30C                jsr        [PC - 0x3CF4 /* 0000071E */]
  6955. 00004414  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6956. label00004418:
  6957. 00004418  48C6                     ext.l      D6
  6958. 0000441A  2F06                     move.l     -[A7], D6
  6959. 0000441C  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  6960. 00004422  7002                     moveq.l    D0, 0x02
  6961. 00004424  2F00                     move.l     -[A7], D0
  6962. 00004426  2F07                     move.l     -[A7], D7
  6963. 00004428  4EBA C2F4                jsr        [PC - 0x3D0C /* 0000071E */]
  6964. 0000442C  4A44                     tst.w      D4
  6965. 0000442E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6966. 00004432  6700 0CAA                beq        +0xCAC /* 000050DE */
  6967. 00004436  7001                     moveq.l    D0, 0x01
  6968. 00004438  2F00                     move.l     -[A7], D0
  6969. 0000443A  7205                     moveq.l    D1, 0x05
  6970. 0000443C  2F01                     move.l     -[A7], D1
  6971. 0000443E  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6972. 00004444  7003                     moveq.l    D0, 0x03
  6973. 00004446  2F00                     move.l     -[A7], D0
  6974. 00004448  2F07                     move.l     -[A7], D7
  6975. 0000444A  4EBA C324                jsr        [PC - 0x3CDC /* 00000770 */]
  6976. 0000444E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6977. 00004452  6000 0C8A                bra        +0xC8C /* 000050DE */
  6978. label00004456:
  6979. 00004456  2F07                     move.l     -[A7], D7
  6980. 00004458  4EBA C55A                jsr        [PC - 0x3AA6 /* 000009B4 */]
  6981. 0000445C  3800                     move.w     D4, D0
  6982. 0000445E  7003                     moveq.l    D0, 0x03
  6983. 00004460  2F00                     move.l     -[A7], D0
  6984. 00004462  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6985. 00004468  2F00                     move.l     -[A7], D0
  6986. 0000446A  2F07                     move.l     -[A7], D7
  6987. 0000446C  4EBA C6B0                jsr        [PC - 0x3950 /* 00000B1E */]
  6988. 00004470  7201                     moveq.l    D1, 0x01
  6989. 00004472  B340                     xor.w      D0, D1
  6990. 00004474  48C0                     ext.l      D0
  6991. 00004476  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6992. 0000447A  2F00                     move.l     -[A7], D0
  6993. 0000447C  7003                     moveq.l    D0, 0x03
  6994. 0000447E  2F00                     move.l     -[A7], D0
  6995. 00004480  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6996. 00004486  2F00                     move.l     -[A7], D0
  6997. 00004488  2F07                     move.l     -[A7], D7
  6998. 0000448A  4EBA C2E4                jsr        [PC - 0x3D1C /* 00000770 */]
  6999. 0000448E  4878 01FF                push.l     0x1FF
  7000. 00004492  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  7001. 00004498  7003                     moveq.l    D0, 0x03
  7002. 0000449A  2F00                     move.l     -[A7], D0
  7003. 0000449C  2F07                     move.l     -[A7], D7
  7004. 0000449E  4EBA C61C                jsr        [PC - 0x39E4 /* 00000ABC */]
  7005. 000044A2  3C00                     move.w     D6, D0
  7006. 000044A4  7003                     moveq.l    D0, 0x03
  7007. 000044A6  2F00                     move.l     -[A7], D0
  7008. 000044A8  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  7009. 000044AE  2F00                     move.l     -[A7], D0
  7010. 000044B0  2F07                     move.l     -[A7], D7
  7011. 000044B2  4EBA C66A                jsr        [PC - 0x3996 /* 00000B1E */]
  7012. 000044B6  4A40                     tst.w      D0
  7013. 000044B8  4FEF 0038                lea.l      A7, [A7 + 0x38]
  7014. 000044BC  6642                     bne        +0x44 /* 00004500 */
  7015. 000044BE  48C6                     ext.l      D6
  7016. 000044C0  2F07                     move.l     -[A7], D7
  7017. 000044C2  4EBA C704                jsr        [PC - 0x38FC /* 00000BC8 */]
  7018. 000044C6  48C0                     ext.l      D0
  7019. 000044C8  5380                     subq.l     D0, 1
  7020. 000044CA  D086                     add.l      D0, D6
  7021. 000044CC  588F                     addq.l     A7, 4
  7022. 000044CE  2F00                     move.l     -[A7], D0
  7023. 000044D0  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  7024. 000044D6  7003                     moveq.l    D0, 0x03
  7025. 000044D8  2F00                     move.l     -[A7], D0
  7026. 000044DA  2F07                     move.l     -[A7], D7
  7027. 000044DC  4EBA C240                jsr        [PC - 0x3DC0 /* 0000071E */]
  7028. 000044E0  3006                     move.w     D0, D6
  7029. 000044E2  E240                     asr        D0.w, 1
  7030. 000044E4  48C0                     ext.l      D0
  7031. 000044E6  5380                     subq.l     D0, 1
  7032. 000044E8  2F00                     move.l     -[A7], D0
  7033. 000044EA  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  7034. 000044F0  7002                     moveq.l    D0, 0x02
  7035. 000044F2  2F00                     move.l     -[A7], D0
  7036. 000044F4  2F07                     move.l     -[A7], D7
  7037. 000044F6  4EBA C226                jsr        [PC - 0x3DDA /* 0000071E */]
  7038. 000044FA  4FEF 0020                lea.l      A7, [A7 + 0x20]
  7039. 000044FE  6042                     bra        +0x44 /* 00004542 */
  7040. label00004500:
  7041. 00004500  48C6                     ext.l      D6
  7042. 00004502  2F07                     move.l     -[A7], D7
  7043. 00004504  4EBA C6C2                jsr        [PC - 0x393E /* 00000BC8 */]
  7044. 00004508  48C0                     ext.l      D0
  7045. 0000450A  5380                     subq.l     D0, 1
  7046. 0000450C  2206                     move.l     D1, D6
  7047. 0000450E  9280                     sub.l      D1, D0
  7048. 00004510  588F                     addq.l     A7, 4
  7049. 00004512  2F01                     move.l     -[A7], D1
  7050. 00004514  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  7051. 0000451A  7003                     moveq.l    D0, 0x03
  7052. 0000451C  2F00                     move.l     -[A7], D0
  7053. 0000451E  2F07                     move.l     -[A7], D7
  7054. 00004520  4EBA C1FC                jsr        [PC - 0x3E04 /* 0000071E */]
  7055. 00004524  3006                     move.w     D0, D6
  7056. 00004526  E240                     asr        D0.w, 1
  7057. 00004528  48C0                     ext.l      D0
  7058. 0000452A  5280                     addq.l     D0, 1
  7059. 0000452C  2F00                     move.l     -[A7], D0
  7060. 0000452E  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  7061. 00004534  7002                     moveq.l    D0, 0x02
  7062. 00004536  2F00                     move.l     -[A7], D0
  7063. 00004538  2F07                     move.l     -[A7], D7
  7064. 0000453A  4EBA C1E2                jsr        [PC - 0x3E1E /* 0000071E */]
  7065. 0000453E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  7066. label00004542:
  7067. 00004542  4A44                     tst.w      D4
  7068. 00004544  6700 0B98                beq        +0xB9A /* 000050DE */
  7069. 00004548  7001                     moveq.l    D0, 0x01
  7070. 0000454A  2F00                     move.l     -[A7], D0
  7071. 0000454C  7205                     moveq.l    D1, 0x05
  7072. 0000454E  2F01                     move.l     -[A7], D1
  7073. 00004550  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  7074. 00004556  7003                     moveq.l    D0, 0x03
  7075. 00004558  2F00                     move.l     -[A7], D0
  7076. 0000455A  2F07                     move.l     -[A7], D7
  7077. 0000455C  4EBA C212                jsr        [PC - 0x3DEE /* 00000770 */]
  7078. 00004560  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7079. 00004564  6000 0B78                bra        +0xB7A /* 000050DE */
  7080. label00004568:
  7081. 00004568  302B 001C                move.w     D0, [A3 + 0x1C]
  7082. 0000456C  E040                     asr        D0.w, 8
  7083. 0000456E  0C40 0052                cmpi.w     D0, 0x52 /* 'R' */
  7084. 00004572  662C                     bne        +0x2E /* 000045A0 */
  7085. 00004574  2F0C                     move.l     -[A7], A4
  7086. 00004576  302B 001E                move.w     D0, [A3 + 0x1E]
  7087. 0000457A  48C0                     ext.l      D0
  7088. 0000457C  2F00                     move.l     -[A7], D0
  7089. 0000457E  303C 00FF                move.w     D0, 0xFF
  7090. 00004582  C06B 001C                and.w      D0, [A3 + 0x1C]
  7091. 00004586  7200                     moveq.l    D1, 0x00
  7092. 00004588  3200                     move.w     D1, D0
  7093. 0000458A  4A81                     tst.l      D1
  7094. 0000458C  2F01                     move.l     -[A7], D1
  7095. 0000458E  4878 00A0                push.l     0xA0
  7096. 00004592  4EBA CFFE                jsr        [PC - 0x3002 /* 00001592 */]
  7097. 00004596  3A00                     move.w     D5, D0
  7098. 00004598  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7099. 0000459C  6000 0B40                bra        +0xB42 /* 000050DE */
  7100. label000045A0:
  7101. 000045A0  703F                     moveq.l    D0, 0x3F
  7102. 000045A2  2F00                     move.l     -[A7], D0
  7103. 000045A4  7200                     moveq.l    D1, 0x00
  7104. 000045A6  2F01                     move.l     -[A7], D1
  7105. 000045A8  342B 001C                move.w     D2, [A3 + 0x1C]
  7106. 000045AC  48C2                     ext.l      D2
  7107. 000045AE  2F02                     move.l     -[A7], D2
  7108. 000045B0  4EBA C146                jsr        [PC - 0x3EBA /* 000006F8 */]
  7109. 000045B4  4A40                     tst.w      D0
  7110. 000045B6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7111. 000045BA  6608                     bne        +0xA /* 000045C4 */
  7112. 000045BC  3A3C E0AC                move.w     D5, 0xE0AC
  7113. 000045C0  6000 0B1C                bra        +0xB1E /* 000050DE */
  7114. label000045C4:
  7115. 000045C4  2F0C                     move.l     -[A7], A4
  7116. 000045C6  302B 001E                move.w     D0, [A3 + 0x1E]
  7117. 000045CA  48C0                     ext.l      D0
  7118. 000045CC  2F00                     move.l     -[A7], D0
  7119. 000045CE  302B 001C                move.w     D0, [A3 + 0x1C]
  7120. 000045D2  48C0                     ext.l      D0
  7121. 000045D4  D0BC 0000 00C0           add.l      D0, 0xC0
  7122. 000045DA  2F00                     move.l     -[A7], D0
  7123. 000045DC  4878 00A0                push.l     0xA0
  7124. 000045E0  4EBA CFB0                jsr        [PC - 0x3050 /* 00001592 */]
  7125. 000045E4  3A00                     move.w     D5, D0
  7126. 000045E6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7127. 000045EA  6000 0AF2                bra        +0xAF4 /* 000050DE */
  7128. label000045EE:
  7129. 000045EE  4A6B 001C                tst.w      [A3 + 0x1C]
  7130. 000045F2  673C                     beq        +0x3E /* 00004630 */
  7131. 000045F4  206C 000A                movea.l    A0, [A4 + 0xA]
  7132. 000045F8  2050                     movea.l    A0, [A0]
  7133. 000045FA  4A68 0718                tst.w      [A0 + 0x718]
  7134. 000045FE  6708                     beq        +0xA /* 00004608 */
  7135. 00004600  3A3C E0AB                move.w     D5, 0xE0AB
  7136. 00004604  6000 0AD8                bra        +0xADA /* 000050DE */
  7137. label00004608:
  7138. 00004608  206C 000A                movea.l    A0, [A4 + 0xA]
  7139. 0000460C  2050                     movea.l    A0, [A0]
  7140. 0000460E  317C 0001 0718           move.w     [A0 + 0x718], 0x1
  7141. 00004614  526C 002A                addq.w     [A4 + 0x2A], 1
  7142. 00004618  7000                     moveq.l    D0, 0x00
  7143. 0000461A  302C 002A                move.w     D0, [A4 + 0x2A]
  7144. 0000461E  4A80                     tst.l      D0
  7145. 00004620  6604                     bne        +0x6 /* 00004626 */
  7146. 00004622  526C 002A                addq.w     [A4 + 0x2A], 1
  7147. label00004626:
  7148. 00004626  376C 002A 001E           move.w     [A3 + 0x1E], [A4 + 0x2A]
  7149. 0000462C  6000 0AB0                bra        +0xAB2 /* 000050DE */
  7150. label00004630:
  7151. 00004630  206C 000A                movea.l    A0, [A4 + 0xA]
  7152. 00004634  2050                     movea.l    A0, [A0]
  7153. 00004636  4268 0718                clr.w      [A0 + 0x718]
  7154. 0000463A  6000 0AA2                bra        +0xAA4 /* 000050DE */
  7155. label0000463E:
  7156. 0000463E  7062                     moveq.l    D0, 0x62
  7157. 00004640  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7158. 00004644  6600 008A                bne        +0x8C /* 000046D0 */
  7159. 00004648  2F0C                     move.l     -[A7], A4
  7160. 0000464A  7000                     moveq.l    D0, 0x00
  7161. 0000464C  102C 0034                move.b     D0, [A4 + 0x34]
  7162. 00004650  4A80                     tst.l      D0
  7163. 00004652  72DF                     moveq.l    D1, 0xFFFFFFDF
  7164. 00004654  C200                     and.b      D1, D0
  7165. 00004656  7000                     moveq.l    D0, 0x00
  7166. 00004658  1001                     move.b     D0, D1
  7167. 0000465A  4A80                     tst.l      D0
  7168. 0000465C  4A6B 001C                tst.w      [A3 + 0x1C]
  7169. 00004660  6704                     beq        +0x6 /* 00004666 */
  7170. 00004662  7220                     moveq.l    D1, 0x20
  7171. 00004664  6002                     bra        +0x4 /* 00004668 */
  7172. label00004666:
  7173. 00004666  7200                     moveq.l    D1, 0x00
  7174. label00004668:
  7175. 00004668  49C1                     lea.l      A4, D1
  7176. 0000466A  8200                     or.b       D1, D0
  7177. 0000466C  2F01                     move.l     -[A7], D1
  7178. 0000466E  7008                     moveq.l    D0, 0x08
  7179. 00004670  2F00                     move.l     -[A7], D0
  7180. 00004672  4878 008A                push.l     0x8A
  7181. 00004676  4EBA CF1A                jsr        [PC - 0x30E6 /* 00001592 */]
  7182. 0000467A  4A6C 0026                tst.w      [A4 + 0x26]
  7183. 0000467E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7184. 00004682  6628                     bne        +0x2A /* 000046AC */
  7185. 00004684  2F0C                     move.l     -[A7], A4
  7186. 00004686  4A6B 001C                tst.w      [A3 + 0x1C]
  7187. 0000468A  6704                     beq        +0x6 /* 00004690 */
  7188. 0000468C  7021                     moveq.l    D0, 0x21
  7189. 0000468E  6006                     bra        +0x8 /* 00004696 */
  7190. label00004690:
  7191. 00004690  203C 0000 00FF           move.l     D0, 0xFF
  7192. label00004696:
  7193. 00004696  2F00                     move.l     -[A7], D0
  7194. 00004698  7005                     moveq.l    D0, 0x05
  7195. 0000469A  2F00                     move.l     -[A7], D0
  7196. 0000469C  4878 008A                push.l     0x8A
  7197. 000046A0  4EBA CEF0                jsr        [PC - 0x3110 /* 00001592 */]
  7198. 000046A4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7199. 000046A8  6000 0A34                bra        +0xA36 /* 000050DE */
  7200. label000046AC:
  7201. 000046AC  2F0C                     move.l     -[A7], A4
  7202. 000046AE  4A6B 001C                tst.w      [A3 + 0x1C]
  7203. 000046B2  6704                     beq        +0x6 /* 000046B8 */
  7204. 000046B4  7023                     moveq.l    D0, 0x23
  7205. 000046B6  6002                     bra        +0x4 /* 000046BA */
  7206. label000046B8:
  7207. 000046B8  7000                     moveq.l    D0, 0x00
  7208. label000046BA:
  7209. 000046BA  2F00                     move.l     -[A7], D0
  7210. 000046BC  7005                     moveq.l    D0, 0x05
  7211. 000046BE  2F00                     move.l     -[A7], D0
  7212. 000046C0  4878 008A                push.l     0x8A
  7213. 000046C4  4EBA CECC                jsr        [PC - 0x3134 /* 00001592 */]
  7214. 000046C8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7215. 000046CC  6000 0A10                bra        +0xA12 /* 000050DE */
  7216. label000046D0:
  7217. 000046D0  2F0C                     move.l     -[A7], A4
  7218. 000046D2  7000                     moveq.l    D0, 0x00
  7219. 000046D4  102C 0039                move.b     D0, [A4 + 0x39]
  7220. 000046D8  4A80                     tst.l      D0
  7221. 000046DA  323C FF7F                move.w     D1, 0xFF7F
  7222. 000046DE  C240                     and.w      D1, D0
  7223. 000046E0  7000                     moveq.l    D0, 0x00
  7224. 000046E2  3001                     move.w     D0, D1
  7225. 000046E4  4A80                     tst.l      D0
  7226. 000046E6  4A6B 001C                tst.w      [A3 + 0x1C]
  7227. 000046EA  6708                     beq        +0xA /* 000046F4 */
  7228. 000046EC  223C 0000 0080           move.l     D1, 0x80
  7229. 000046F2  6002                     bra        +0x4 /* 000046F6 */
  7230. label000046F4:
  7231. 000046F4  7200                     moveq.l    D1, 0x00
  7232. label000046F6:
  7233. 000046F6  7400                     moveq.l    D2, 0x00
  7234. 000046F8  1401                     move.b     D2, D1
  7235. 000046FA  4A82                     tst.l      D2
  7236. 000046FC  8440                     or.w       D2, D0
  7237. 000046FE  2F02                     move.l     -[A7], D2
  7238. 00004700  700D                     moveq.l    D0, 0x0D
  7239. 00004702  2F00                     move.l     -[A7], D0
  7240. 00004704  4878 008A                push.l     0x8A
  7241. 00004708  4EBA CE88                jsr        [PC - 0x3178 /* 00001592 */]
  7242. 0000470C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7243. 00004710  6000 09CC                bra        +0x9CE /* 000050DE */
  7244. label00004714:
  7245. 00004714  2F07                     move.l     -[A7], D7
  7246. 00004716  4EBA C29C                jsr        [PC - 0x3D64 /* 000009B4 */]
  7247. 0000471A  3800                     move.w     D4, D0
  7248. 0000471C  4A6B 001C                tst.w      [A3 + 0x1C]
  7249. 00004720  6704                     beq        +0x6 /* 00004726 */
  7250. 00004722  7000                     moveq.l    D0, 0x00
  7251. 00004724  6002                     bra        +0x4 /* 00004728 */
  7252. label00004726:
  7253. 00004726  7001                     moveq.l    D0, 0x01
  7254. label00004728:
  7255. 00004728  4880                     ext.w      D0
  7256. 0000472A  3C00                     move.w     D6, D0
  7257. 0000472C  4878 01FF                push.l     0x1FF
  7258. 00004730  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  7259. 00004736  7002                     moveq.l    D0, 0x02
  7260. 00004738  2F00                     move.l     -[A7], D0
  7261. 0000473A  2F07                     move.l     -[A7], D7
  7262. 0000473C  4EBA C37E                jsr        [PC - 0x3C82 /* 00000ABC */]
  7263. 00004740  323C 0080                move.w     D1, 0x80
  7264. 00004744  C240                     and.w      D1, D0
  7265. 00004746  7000                     moveq.l    D0, 0x00
  7266. 00004748  3001                     move.w     D0, D1
  7267. 0000474A  4A80                     tst.l      D0
  7268. 0000474C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7269. 00004750  6604                     bne        +0x6 /* 00004756 */
  7270. 00004752  0A46 0001                xori.w     D6, 0x1
  7271. label00004756:
  7272. 00004756  48C6                     ext.l      D6
  7273. 00004758  2F06                     move.l     -[A7], D6
  7274. 0000475A  7005                     moveq.l    D0, 0x05
  7275. 0000475C  2F00                     move.l     -[A7], D0
  7276. 0000475E  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  7277. 00004764  7203                     moveq.l    D1, 0x03
  7278. 00004766  2F01                     move.l     -[A7], D1
  7279. 00004768  2F07                     move.l     -[A7], D7
  7280. 0000476A  4EBA C004                jsr        [PC - 0x3FFC /* 00000770 */]
  7281. 0000476E  4A44                     tst.w      D4
  7282. 00004770  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7283. 00004774  6700 0968                beq        +0x96A /* 000050DE */
  7284. 00004778  7001                     moveq.l    D0, 0x01
  7285. 0000477A  2F00                     move.l     -[A7], D0
  7286. 0000477C  7205                     moveq.l    D1, 0x05
  7287. 0000477E  2F01                     move.l     -[A7], D1
  7288. 00004780  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  7289. 00004786  7003                     moveq.l    D0, 0x03
  7290. 00004788  2F00                     move.l     -[A7], D0
  7291. 0000478A  2F07                     move.l     -[A7], D7
  7292. 0000478C  4EBA BFE2                jsr        [PC - 0x401E /* 00000770 */]
  7293. 00004790  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7294. 00004794  6000 0948                bra        +0x94A /* 000050DE */
  7295. label00004798:
  7296. 00004798  7002                     moveq.l    D0, 0x02
  7297. 0000479A  2F00                     move.l     -[A7], D0
  7298. 0000479C  7200                     moveq.l    D1, 0x00
  7299. 0000479E  2F01                     move.l     -[A7], D1
  7300. 000047A0  342B 001C                move.w     D2, [A3 + 0x1C]
  7301. 000047A4  48C2                     ext.l      D2
  7302. 000047A6  2F02                     move.l     -[A7], D2
  7303. 000047A8  4EBA BF4E                jsr        [PC - 0x40B2 /* 000006F8 */]
  7304. 000047AC  4A40                     tst.w      D0
  7305. 000047AE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7306. 000047B2  6608                     bne        +0xA /* 000047BC */
  7307. 000047B4  3A3C E0A2                move.w     D5, 0xE0A2
  7308. 000047B8  6000 0924                bra        +0x926 /* 000050DE */
  7309. label000047BC:
  7310. 000047BC  396B 001C 0026           move.w     [A4 + 0x26], [A3 + 0x1C]
  7311. 000047C2  4A6B 001C                tst.w      [A3 + 0x1C]
  7312. 000047C6  6600 0138                bne        +0x13A /* 00004900 */
  7313. 000047CA  397C 001F 0010           move.w     [A4 + 0x10], 0x1F
  7314. 000047D0  397C 02DC 0012           move.w     [A4 + 0x12], 0x2DC
  7315. 000047D6  397C 029A 0014           move.w     [A4 + 0x14], 0x29A
  7316. 000047DC  397C 0001 0016           move.w     [A4 + 0x16], 0x1
  7317. 000047E2  397C 00FF 0018           move.w     [A4 + 0x18], 0xFF
  7318. 000047E8  397C 01FC 001A           move.w     [A4 + 0x1A], 0x1FC
  7319. 000047EE  7062                     moveq.l    D0, 0x62
  7320. 000047F0  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7321. 000047F4  6600 0092                bne        +0x94 /* 00004888 */
  7322. 000047F8  2F0C                     move.l     -[A7], A4
  7323. 000047FA  7000                     moveq.l    D0, 0x00
  7324. 000047FC  102C 0034                move.b     D0, [A4 + 0x34]
  7325. 00004800  4A80                     tst.l      D0
  7326. 00004802  7220                     moveq.l    D1, 0x20
  7327. 00004804  C200                     and.b      D1, D0
  7328. 00004806  6704                     beq        +0x6 /* 0000480C */
  7329. 00004808  7021                     moveq.l    D0, 0x21
  7330. 0000480A  6006                     bra        +0x8 /* 00004812 */
  7331. label0000480C:
  7332. 0000480C  203C 0000 00FF           move.l     D0, 0xFF
  7333. label00004812:
  7334. 00004812  2F00                     move.l     -[A7], D0
  7335. 00004814  7005                     moveq.l    D0, 0x05
  7336. 00004816  2F00                     move.l     -[A7], D0
  7337. 00004818  4878 008A                push.l     0x8A
  7338. 0000481C  4EBA CD74                jsr        [PC - 0x328C /* 00001592 */]
  7339. 00004820  2F0C                     move.l     -[A7], A4
  7340. 00004822  7023                     moveq.l    D0, 0x23
  7341. 00004824  2F00                     move.l     -[A7], D0
  7342. 00004826  7206                     moveq.l    D1, 0x06
  7343. 00004828  2F01                     move.l     -[A7], D1
  7344. 0000482A  4878 008A                push.l     0x8A
  7345. 0000482E  4EBA CD62                jsr        [PC - 0x329E /* 00001592 */]
  7346. 00004832  2F0C                     move.l     -[A7], A4
  7347. 00004834  7000                     moveq.l    D0, 0x00
  7348. 00004836  102C 0034                move.b     D0, [A4 + 0x34]
  7349. 0000483A  4A80                     tst.l      D0
  7350. 0000483C  7220                     moveq.l    D1, 0x20
  7351. 0000483E  C200                     and.b      D1, D0
  7352. 00004840  7000                     moveq.l    D0, 0x00
  7353. 00004842  1001                     move.b     D0, D1
  7354. 00004844  4A80                     tst.l      D0
  7355. 00004846  7257                     moveq.l    D1, 0x57
  7356. 00004848  8200                     or.b       D1, D0
  7357. 0000484A  7000                     moveq.l    D0, 0x00
  7358. 0000484C  1001                     move.b     D0, D1
  7359. 0000484E  4A80                     tst.l      D0
  7360. 00004850  2F00                     move.l     -[A7], D0
  7361. 00004852  7008                     moveq.l    D0, 0x08
  7362. 00004854  2F00                     move.l     -[A7], D0
  7363. 00004856  4878 008A                push.l     0x8A
  7364. 0000485A  4EBA CD36                jsr        [PC - 0x32CA /* 00001592 */]
  7365. 0000485E  2F0C                     move.l     -[A7], A4
  7366. 00004860  7000                     moveq.l    D0, 0x00
  7367. 00004862  102C 0036                move.b     D0, [A4 + 0x36]
  7368. 00004866  4A80                     tst.l      D0
  7369. 00004868  7201                     moveq.l    D1, 0x01
  7370. 0000486A  8200                     or.b       D1, D0
  7371. 0000486C  7000                     moveq.l    D0, 0x00
  7372. 0000486E  1001                     move.b     D0, D1
  7373. 00004870  4A80                     tst.l      D0
  7374. 00004872  2F00                     move.l     -[A7], D0
  7375. 00004874  700A                     moveq.l    D0, 0x0A
  7376. 00004876  2F00                     move.l     -[A7], D0
  7377. 00004878  4878 008A                push.l     0x8A
  7378. 0000487C  4EBA CD14                jsr        [PC - 0x32EC /* 00001592 */]
  7379. 00004880  4FEF 0040                lea.l      A7, [A7 + 0x40]
  7380. 00004884  6000 0858                bra        +0x85A /* 000050DE */
  7381. label00004888:
  7382. 00004888  2F0C                     move.l     -[A7], A4
  7383. 0000488A  7000                     moveq.l    D0, 0x00
  7384. 0000488C  102C 003B                move.b     D0, [A4 + 0x3B]
  7385. 00004890  4A80                     tst.l      D0
  7386. 00004892  7240                     moveq.l    D1, 0x40
  7387. 00004894  8200                     or.b       D1, D0
  7388. 00004896  7000                     moveq.l    D0, 0x00
  7389. 00004898  1001                     move.b     D0, D1
  7390. 0000489A  4A80                     tst.l      D0
  7391. 0000489C  2F00                     move.l     -[A7], D0
  7392. 0000489E  700F                     moveq.l    D0, 0x0F
  7393. 000048A0  2F00                     move.l     -[A7], D0
  7394. 000048A2  4878 008A                push.l     0x8A
  7395. 000048A6  4EBA CCEA                jsr        [PC - 0x3316 /* 00001592 */]
  7396. 000048AA  2F0C                     move.l     -[A7], A4
  7397. 000048AC  7000                     moveq.l    D0, 0x00
  7398. 000048AE  102C 0039                move.b     D0, [A4 + 0x39]
  7399. 000048B2  4A80                     tst.l      D0
  7400. 000048B4  72FE                     moveq.l    D1, 0xFFFFFFFE
  7401. 000048B6  C200                     and.b      D1, D0
  7402. 000048B8  7000                     moveq.l    D0, 0x00
  7403. 000048BA  1001                     move.b     D0, D1
  7404. 000048BC  4A80                     tst.l      D0
  7405. 000048BE  2F00                     move.l     -[A7], D0
  7406. 000048C0  700D                     moveq.l    D0, 0x0D
  7407. 000048C2  2F00                     move.l     -[A7], D0
  7408. 000048C4  4878 008A                push.l     0x8A
  7409. 000048C8  4EBA CCC8                jsr        [PC - 0x3338 /* 00001592 */]
  7410. 000048CC  2F0C                     move.l     -[A7], A4
  7411. 000048CE  7000                     moveq.l    D0, 0x00
  7412. 000048D0  102C 0032                move.b     D0, [A4 + 0x32]
  7413. 000048D4  4A80                     tst.l      D0
  7414. 000048D6  72FC                     moveq.l    D1, 0xFFFFFFFC
  7415. 000048D8  C200                     and.b      D1, D0
  7416. 000048DA  7000                     moveq.l    D0, 0x00
  7417. 000048DC  1001                     move.b     D0, D1
  7418. 000048DE  4A80                     tst.l      D0
  7419. 000048E0  7203                     moveq.l    D1, 0x03
  7420. 000048E2  8200                     or.b       D1, D0
  7421. 000048E4  7000                     moveq.l    D0, 0x00
  7422. 000048E6  1001                     move.b     D0, D1
  7423. 000048E8  4A80                     tst.l      D0
  7424. 000048EA  2F00                     move.l     -[A7], D0
  7425. 000048EC  7006                     moveq.l    D0, 0x06
  7426. 000048EE  2F00                     move.l     -[A7], D0
  7427. 000048F0  4878 008A                push.l     0x8A
  7428. 000048F4  4EBA CC9C                jsr        [PC - 0x3364 /* 00001592 */]
  7429. 000048F8  4FEF 0030                lea.l      A7, [A7 + 0x30]
  7430. 000048FC  6000 07E0                bra        +0x7E2 /* 000050DE */
  7431. label00004900:
  7432. 00004900  7001                     moveq.l    D0, 0x01
  7433. 00004902  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  7434. 00004906  6600 0134                bne        +0x136 /* 00004A3C */
  7435. 0000490A  397C 001C 0010           move.w     [A4 + 0x10], 0x1C
  7436. 00004910  397C 0372 0012           move.w     [A4 + 0x12], 0x372
  7437. 00004916  397C 02A2 0014           move.w     [A4 + 0x14], 0x2A2
  7438. 0000491C  397C 0001 0016           move.w     [A4 + 0x16], 0x1
  7439. 00004922  397C 0131 0018           move.w     [A4 + 0x18], 0x131
  7440. 00004928  397C 01FE 001A           move.w     [A4 + 0x1A], 0x1FE
  7441. 0000492E  7062                     moveq.l    D0, 0x62
  7442. 00004930  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7443. 00004934  6600 008E                bne        +0x90 /* 000049C4 */
  7444. 00004938  2F0C                     move.l     -[A7], A4
  7445. 0000493A  7000                     moveq.l    D0, 0x00
  7446. 0000493C  102C 0034                move.b     D0, [A4 + 0x34]
  7447. 00004940  4A80                     tst.l      D0
  7448. 00004942  7220                     moveq.l    D1, 0x20
  7449. 00004944  C200                     and.b      D1, D0
  7450. 00004946  6704                     beq        +0x6 /* 0000494C */
  7451. 00004948  7023                     moveq.l    D0, 0x23
  7452. 0000494A  6002                     bra        +0x4 /* 0000494E */
  7453. label0000494C:
  7454. 0000494C  7000                     moveq.l    D0, 0x00
  7455. label0000494E:
  7456. 0000494E  2F00                     move.l     -[A7], D0
  7457. 00004950  7005                     moveq.l    D0, 0x05
  7458. 00004952  2F00                     move.l     -[A7], D0
  7459. 00004954  4878 008A                push.l     0x8A
  7460. 00004958  4EBA CC38                jsr        [PC - 0x33C8 /* 00001592 */]
  7461. 0000495C  2F0C                     move.l     -[A7], A4
  7462. 0000495E  7001                     moveq.l    D0, 0x01
  7463. 00004960  2F00                     move.l     -[A7], D0
  7464. 00004962  7206                     moveq.l    D1, 0x06
  7465. 00004964  2F01                     move.l     -[A7], D1
  7466. 00004966  4878 008A                push.l     0x8A
  7467. 0000496A  4EBA CC26                jsr        [PC - 0x33DA /* 00001592 */]
  7468. 0000496E  2F0C                     move.l     -[A7], A4
  7469. 00004970  7000                     moveq.l    D0, 0x00
  7470. 00004972  102C 0034                move.b     D0, [A4 + 0x34]
  7471. 00004976  4A80                     tst.l      D0
  7472. 00004978  7220                     moveq.l    D1, 0x20
  7473. 0000497A  C200                     and.b      D1, D0
  7474. 0000497C  7000                     moveq.l    D0, 0x00
  7475. 0000497E  1001                     move.b     D0, D1
  7476. 00004980  4A80                     tst.l      D0
  7477. 00004982  7218                     moveq.l    D1, 0x18
  7478. 00004984  8200                     or.b       D1, D0
  7479. 00004986  7000                     moveq.l    D0, 0x00
  7480. 00004988  1001                     move.b     D0, D1
  7481. 0000498A  4A80                     tst.l      D0
  7482. 0000498C  2F00                     move.l     -[A7], D0
  7483. 0000498E  7008                     moveq.l    D0, 0x08
  7484. 00004990  2F00                     move.l     -[A7], D0
  7485. 00004992  4878 008A                push.l     0x8A
  7486. 00004996  4EBA CBFA                jsr        [PC - 0x3406 /* 00001592 */]
  7487. 0000499A  2F0C                     move.l     -[A7], A4
  7488. 0000499C  7000                     moveq.l    D0, 0x00
  7489. 0000499E  102C 0036                move.b     D0, [A4 + 0x36]
  7490. 000049A2  4A80                     tst.l      D0
  7491. 000049A4  72FE                     moveq.l    D1, 0xFFFFFFFE
  7492. 000049A6  C200                     and.b      D1, D0
  7493. 000049A8  7000                     moveq.l    D0, 0x00
  7494. 000049AA  1001                     move.b     D0, D1
  7495. 000049AC  4A80                     tst.l      D0
  7496. 000049AE  2F00                     move.l     -[A7], D0
  7497. 000049B0  700A                     moveq.l    D0, 0x0A
  7498. 000049B2  2F00                     move.l     -[A7], D0
  7499. 000049B4  4878 008A                push.l     0x8A
  7500. 000049B8  4EBA CBD8                jsr        [PC - 0x3428 /* 00001592 */]
  7501. 000049BC  4FEF 0040                lea.l      A7, [A7 + 0x40]
  7502. 000049C0  6000 071C                bra        +0x71E /* 000050DE */
  7503. label000049C4:
  7504. 000049C4  2F0C                     move.l     -[A7], A4
  7505. 000049C6  7000                     moveq.l    D0, 0x00
  7506. 000049C8  102C 003B                move.b     D0, [A4 + 0x3B]
  7507. 000049CC  4A80                     tst.l      D0
  7508. 000049CE  72BF                     moveq.l    D1, 0xFFFFFFBF
  7509. 000049D0  C200                     and.b      D1, D0
  7510. 000049D2  7000                     moveq.l    D0, 0x00
  7511. 000049D4  1001                     move.b     D0, D1
  7512. 000049D6  4A80                     tst.l      D0
  7513. 000049D8  2F00                     move.l     -[A7], D0
  7514. 000049DA  700F                     moveq.l    D0, 0x0F
  7515. 000049DC  2F00                     move.l     -[A7], D0
  7516. 000049DE  4878 008A                push.l     0x8A
  7517. 000049E2  4EBA CBAE                jsr        [PC - 0x3452 /* 00001592 */]
  7518. 000049E6  2F0C                     move.l     -[A7], A4
  7519. 000049E8  7000                     moveq.l    D0, 0x00
  7520. 000049EA  102C 0039                move.b     D0, [A4 + 0x39]
  7521. 000049EE  4A80                     tst.l      D0
  7522. 000049F0  72FE                     moveq.l    D1, 0xFFFFFFFE
  7523. 000049F2  C200                     and.b      D1, D0
  7524. 000049F4  7000                     moveq.l    D0, 0x00
  7525. 000049F6  1001                     move.b     D0, D1
  7526. 000049F8  4A80                     tst.l      D0
  7527. 000049FA  2F00                     move.l     -[A7], D0
  7528. 000049FC  700D                     moveq.l    D0, 0x0D
  7529. 000049FE  2F00                     move.l     -[A7], D0
  7530. 00004A00  4878 008A                push.l     0x8A
  7531. 00004A04  4EBA CB8C                jsr        [PC - 0x3474 /* 00001592 */]
  7532. 00004A08  2F0C                     move.l     -[A7], A4
  7533. 00004A0A  7000                     moveq.l    D0, 0x00
  7534. 00004A0C  102C 0032                move.b     D0, [A4 + 0x32]
  7535. 00004A10  4A80                     tst.l      D0
  7536. 00004A12  72FC                     moveq.l    D1, 0xFFFFFFFC
  7537. 00004A14  C200                     and.b      D1, D0
  7538. 00004A16  7000                     moveq.l    D0, 0x00
  7539. 00004A18  1001                     move.b     D0, D1
  7540. 00004A1A  4A80                     tst.l      D0
  7541. 00004A1C  7202                     moveq.l    D1, 0x02
  7542. 00004A1E  8200                     or.b       D1, D0
  7543. 00004A20  7000                     moveq.l    D0, 0x00
  7544. 00004A22  1001                     move.b     D0, D1
  7545. 00004A24  4A80                     tst.l      D0
  7546. 00004A26  2F00                     move.l     -[A7], D0
  7547. 00004A28  7006                     moveq.l    D0, 0x06
  7548. 00004A2A  2F00                     move.l     -[A7], D0
  7549. 00004A2C  4878 008A                push.l     0x8A
  7550. 00004A30  4EBA CB60                jsr        [PC - 0x34A0 /* 00001592 */]
  7551. 00004A34  4FEF 0030                lea.l      A7, [A7 + 0x30]
  7552. 00004A38  6000 06A4                bra        +0x6A6 /* 000050DE */
  7553. label00004A3C:
  7554. 00004A3C  7002                     moveq.l    D0, 0x02
  7555. 00004A3E  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  7556. 00004A42  6600 069A                bne        +0x69C /* 000050DE */
  7557. 00004A46  7062                     moveq.l    D0, 0x62
  7558. 00004A48  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7559. 00004A4C  6606                     bne        +0x8 /* 00004A54 */
  7560. 00004A4E  7AEF                     moveq.l    D5, 0xFFFFFFEF
  7561. 00004A50  6000 068C                bra        +0x68E /* 000050DE */
  7562. label00004A54:
  7563. 00004A54  397C 001C 0010           move.w     [A4 + 0x10], 0x1C
  7564. 00004A5A  397C 0372 0012           move.w     [A4 + 0x12], 0x372
  7565. 00004A60  397C 02A2 0014           move.w     [A4 + 0x14], 0x2A2
  7566. 00004A66  397C 0001 0016           move.w     [A4 + 0x16], 0x1
  7567. 00004A6C  397C 0131 0018           move.w     [A4 + 0x18], 0x131
  7568. 00004A72  397C 01FE 001A           move.w     [A4 + 0x1A], 0x1FE
  7569. 00004A78  2F0C                     move.l     -[A7], A4
  7570. 00004A7A  7000                     moveq.l    D0, 0x00
  7571. 00004A7C  102C 003B                move.b     D0, [A4 + 0x3B]
  7572. 00004A80  4A80                     tst.l      D0
  7573. 00004A82  72BF                     moveq.l    D1, 0xFFFFFFBF
  7574. 00004A84  C200                     and.b      D1, D0
  7575. 00004A86  7000                     moveq.l    D0, 0x00
  7576. 00004A88  1001                     move.b     D0, D1
  7577. 00004A8A  4A80                     tst.l      D0
  7578. 00004A8C  2F00                     move.l     -[A7], D0
  7579. 00004A8E  700F                     moveq.l    D0, 0x0F
  7580. 00004A90  2F00                     move.l     -[A7], D0
  7581. 00004A92  4878 008A                push.l     0x8A
  7582. 00004A96  4EBA CAFA                jsr        [PC - 0x3506 /* 00001592 */]
  7583. 00004A9A  2F0C                     move.l     -[A7], A4
  7584. 00004A9C  7000                     moveq.l    D0, 0x00
  7585. 00004A9E  102C 0039                move.b     D0, [A4 + 0x39]
  7586. 00004AA2  4A80                     tst.l      D0
  7587. 00004AA4  7201                     moveq.l    D1, 0x01
  7588. 00004AA6  8200                     or.b       D1, D0
  7589. 00004AA8  7000                     moveq.l    D0, 0x00
  7590. 00004AAA  1001                     move.b     D0, D1
  7591. 00004AAC  4A80                     tst.l      D0
  7592. 00004AAE  2F00                     move.l     -[A7], D0
  7593. 00004AB0  700D                     moveq.l    D0, 0x0D
  7594. 00004AB2  2F00                     move.l     -[A7], D0
  7595. 00004AB4  4878 008A                push.l     0x8A
  7596. 00004AB8  4EBA CAD8                jsr        [PC - 0x3528 /* 00001592 */]
  7597. 00004ABC  2F0C                     move.l     -[A7], A4
  7598. 00004ABE  7000                     moveq.l    D0, 0x00
  7599. 00004AC0  102C 0032                move.b     D0, [A4 + 0x32]
  7600. 00004AC4  4A80                     tst.l      D0
  7601. 00004AC6  72FC                     moveq.l    D1, 0xFFFFFFFC
  7602. 00004AC8  C200                     and.b      D1, D0
  7603. 00004ACA  7000                     moveq.l    D0, 0x00
  7604. 00004ACC  1001                     move.b     D0, D1
  7605. 00004ACE  4A80                     tst.l      D0
  7606. 00004AD0  7201                     moveq.l    D1, 0x01
  7607. 00004AD2  8200                     or.b       D1, D0
  7608. 00004AD4  7000                     moveq.l    D0, 0x00
  7609. 00004AD6  1001                     move.b     D0, D1
  7610. 00004AD8  4A80                     tst.l      D0
  7611. 00004ADA  2F00                     move.l     -[A7], D0
  7612. 00004ADC  7006                     moveq.l    D0, 0x06
  7613. 00004ADE  2F00                     move.l     -[A7], D0
  7614. 00004AE0  4878 008A                push.l     0x8A
  7615. 00004AE4  4EBA CAAC                jsr        [PC - 0x3554 /* 00001592 */]
  7616. 00004AE8  4FEF 0030                lea.l      A7, [A7 + 0x30]
  7617. 00004AEC  6000 05F0                bra        +0x5F2 /* 000050DE */
  7618. label00004AF0:
  7619. 00004AF0  206E FFC2                movea.l    A0, [A6 - 0x3E]
  7620. 00004AF4  3010                     move.w     D0, [A0]
  7621. 00004AF6  48C0                     ext.l      D0
  7622. 00004AF8  2F00                     move.l     -[A7], D0
  7623. 00004AFA  7001                     moveq.l    D0, 0x01
  7624. 00004AFC  2F00                     move.l     -[A7], D0
  7625. 00004AFE  322B 001C                move.w     D1, [A3 + 0x1C]
  7626. 00004B02  48C1                     ext.l      D1
  7627. 00004B04  2F01                     move.l     -[A7], D1
  7628. 00004B06  4EBA BBF0                jsr        [PC - 0x4410 /* 000006F8 */]
  7629. 00004B0A  4A40                     tst.w      D0
  7630. 00004B0C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7631. 00004B10  6608                     bne        +0xA /* 00004B1A */
  7632. 00004B12  3A3C E0A1                move.w     D5, 0xE0A1
  7633. 00004B16  6000 05C6                bra        +0x5C8 /* 000050DE */
  7634. label00004B1A:
  7635. 00004B1A  226E FFC2                movea.l    A1, [A6 - 0x3E]
  7636. 00004B1E  3029 0002                move.w     D0, [A1 + 0x2]
  7637. 00004B22  48C0                     ext.l      D0
  7638. 00004B24  226E FFC2                movea.l    A1, [A6 - 0x3E]
  7639. 00004B28  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  7640. 00004B2C  A02A                     syscall    HUnlock
  7641. 00004B2E  302B 001C                move.w     D0, [A3 + 0x1C]
  7642. 00004B32  5340                     subq.w     D0, 1
  7643. 00004B34  206E FFC2                movea.l    A0, [A6 - 0x3E]
  7644. 00004B38  3140 0002                move.w     [A0 + 0x2], D0
  7645. 00004B3C  226E FFC2                movea.l    A1, [A6 - 0x3E]
  7646. 00004B40  3029 0002                move.w     D0, [A1 + 0x2]
  7647. 00004B44  48C0                     ext.l      D0
  7648. 00004B46  226E FFC2                movea.l    A1, [A6 - 0x3E]
  7649. 00004B4A  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  7650. 00004B4E  A029                     syscall    HLock
  7651. 00004B50  206E FFC2                movea.l    A0, [A6 - 0x3E]
  7652. 00004B54  3028 0002                move.w     D0, [A0 + 0x2]
  7653. 00004B58  48C0                     ext.l      D0
  7654. 00004B5A  206E FFC2                movea.l    A0, [A6 - 0x3E]
  7655. 00004B5E  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  7656. 00004B62  2850                     movea.l    A4, [A0]
  7657. 00004B64  6000 0578                bra        +0x57A /* 000050DE */
  7658. label00004B68:
  7659. 00004B68  4878 00FF                push.l     0xFF
  7660. 00004B6C  7000                     moveq.l    D0, 0x00
  7661. 00004B6E  2F00                     move.l     -[A7], D0
  7662. 00004B70  322B 001C                move.w     D1, [A3 + 0x1C]
  7663. 00004B74  48C1                     ext.l      D1
  7664. 00004B76  2F01                     move.l     -[A7], D1
  7665. 00004B78  4EBA BB7E                jsr        [PC - 0x4482 /* 000006F8 */]
  7666. 00004B7C  4A40                     tst.w      D0
  7667. 00004B7E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7668. 00004B82  6624                     bne        +0x26 /* 00004BA8 */
  7669. 00004B84  4878 00FF                push.l     0xFF
  7670. 00004B88  7000                     moveq.l    D0, 0x00
  7671. 00004B8A  2F00                     move.l     -[A7], D0
  7672. 00004B8C  322B 001E                move.w     D1, [A3 + 0x1E]
  7673. 00004B90  48C1                     ext.l      D1
  7674. 00004B92  2F01                     move.l     -[A7], D1
  7675. 00004B94  4EBA BB62                jsr        [PC - 0x449E /* 000006F8 */]
  7676. 00004B98  4A40                     tst.w      D0
  7677. 00004B9A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7678. 00004B9E  6708                     beq        +0xA /* 00004BA8 */
  7679. 00004BA0  3A3C E0A0                move.w     D5, 0xE0A0
  7680. 00004BA4  6000 0538                bra        +0x53A /* 000050DE */
  7681. label00004BA8:
  7682. 00004BA8  2F0C                     move.l     -[A7], A4
  7683. 00004BAA  302B 001E                move.w     D0, [A3 + 0x1E]
  7684. 00004BAE  48C0                     ext.l      D0
  7685. 00004BB0  2F00                     move.l     -[A7], D0
  7686. 00004BB2  302B 001C                move.w     D0, [A3 + 0x1C]
  7687. 00004BB6  48C0                     ext.l      D0
  7688. 00004BB8  2F00                     move.l     -[A7], D0
  7689. 00004BBA  4878 008A                push.l     0x8A
  7690. 00004BBE  4EBA C9D2                jsr        [PC - 0x362E /* 00001592 */]
  7691. 00004BC2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7692. 00004BC6  6000 0516                bra        +0x518 /* 000050DE */
  7693. label00004BCA:
  7694. 00004BCA  382B 001C                move.w     D4, [A3 + 0x1C]
  7695. 00004BCE  1D7C 0001 FFCB           move.b     [A6 - 0x35], 0x1
  7696. 00004BD4  43EE FFCB                lea.l      A1, [A6 - 0x35]
  7697. 00004BD8  2049                     movea.l    A0, A1
  7698. 00004BDA  1010                     move.b     D0, [A0]
  7699. 00004BDC  A05D                     syscall    SwapMMUMode
  7700. 00004BDE  1080                     move.b     [A0], D0
  7701. 00004BE0  206E FFD0                movea.l    A0, [A6 - 0x30]
  7702. 00004BE4  7C00                     moveq.l    D6, 0x00
  7703. 00004BE6  1C10                     move.b     D6, [A0]
  7704. 00004BE8  4A86                     tst.l      D6
  7705. 00004BEA  206E FFD0                movea.l    A0, [A6 - 0x30]
  7706. 00004BEE  4210                     clr.b      [A0]
  7707. 00004BF0  4A44                     tst.w      D4
  7708. 00004BF2  670A                     beq        +0xC /* 00004BFE */
  7709. 00004BF4  206E FFD4                movea.l    A0, [A6 - 0x2C]
  7710. 00004BF8  0010 0004                ori.b      [A0], 0x4
  7711. 00004BFC  6008                     bra        +0xA /* 00004C06 */
  7712. label00004BFE:
  7713. 00004BFE  206E FFD4                movea.l    A0, [A6 - 0x2C]
  7714. 00004C02  0210 00FB                andi.b     [A0], 0xFB
  7715. label00004C06:
  7716. 00004C06  206E FFD0                movea.l    A0, [A6 - 0x30]
  7717. 00004C0A  1086                     move.b     [A0], D6
  7718. 00004C0C  43EE FFCB                lea.l      A1, [A6 - 0x35]
  7719. 00004C10  2049                     movea.l    A0, A1
  7720. 00004C12  1010                     move.b     D0, [A0]
  7721. 00004C14  A05D                     syscall    SwapMMUMode
  7722. 00004C16  1080                     move.b     [A0], D0
  7723. 00004C18  6000 04C4                bra        +0x4C6 /* 000050DE */
  7724. label00004C1C:
  7725. 00004C1C  4A6B 001C                tst.w      [A3 + 0x1C]
  7726. 00004C20  6704                     beq        +0x6 /* 00004C26 */
  7727. 00004C22  7000                     moveq.l    D0, 0x00
  7728. 00004C24  6002                     bra        +0x4 /* 00004C28 */
  7729. label00004C26:
  7730. 00004C26  7001                     moveq.l    D0, 0x01
  7731. label00004C28:
  7732. 00004C28  2F00                     move.l     -[A7], D0
  7733. 00004C2A  7006                     moveq.l    D0, 0x06
  7734. 00004C2C  2F00                     move.l     -[A7], D0
  7735. 00004C2E  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  7736. 00004C34  7203                     moveq.l    D1, 0x03
  7737. 00004C36  2F01                     move.l     -[A7], D1
  7738. 00004C38  2F07                     move.l     -[A7], D7
  7739. 00004C3A  4EBA BB34                jsr        [PC - 0x44CC /* 00000770 */]
  7740. 00004C3E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7741. 00004C42  6000 049A                bra        +0x49C /* 000050DE */
  7742. label00004C46:
  7743. 00004C46  4AAB 001C                tst.l      [A3 + 0x1C]
  7744. 00004C4A  6700 008A                beq        +0x8C /* 00004CD6 */
  7745. 00004C4E  7062                     moveq.l    D0, 0x62
  7746. 00004C50  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7747. 00004C54  6618                     bne        +0x1A /* 00004C6E */
  7748. 00004C56  2F0C                     move.l     -[A7], A4
  7749. 00004C58  7038                     moveq.l    D0, 0x38
  7750. 00004C5A  2F00                     move.l     -[A7], D0
  7751. 00004C5C  7200                     moveq.l    D1, 0x00
  7752. 00004C5E  2F01                     move.l     -[A7], D1
  7753. 00004C60  4878 00E0                push.l     0xE0
  7754. 00004C64  4EBA C92C                jsr        [PC - 0x36D4 /* 00001592 */]
  7755. 00004C68  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7756. 00004C6C  6016                     bra        +0x18 /* 00004C84 */
  7757. label00004C6E:
  7758. 00004C6E  2F0C                     move.l     -[A7], A4
  7759. 00004C70  703A                     moveq.l    D0, 0x3A
  7760. 00004C72  2F00                     move.l     -[A7], D0
  7761. 00004C74  7200                     moveq.l    D1, 0x00
  7762. 00004C76  2F01                     move.l     -[A7], D1
  7763. 00004C78  4878 00E0                push.l     0xE0
  7764. 00004C7C  4EBA C914                jsr        [PC - 0x36EC /* 00001592 */]
  7765. 00004C80  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7766. label00004C84:
  7767. 00004C84  2F0C                     move.l     -[A7], A4
  7768. 00004C86  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  7769. 00004C8A  7001                     moveq.l    D0, 0x01
  7770. 00004C8C  2F00                     move.l     -[A7], D0
  7771. 00004C8E  4878 00E0                push.l     0xE0
  7772. 00004C92  4EBA D084                jsr        [PC - 0x2F7C /* 00001D18 */]
  7773. 00004C96  7062                     moveq.l    D0, 0x62
  7774. 00004C98  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7775. 00004C9C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7776. 00004CA0  661A                     bne        +0x1C /* 00004CBC */
  7777. 00004CA2  2F0C                     move.l     -[A7], A4
  7778. 00004CA4  7078                     moveq.l    D0, 0x78
  7779. 00004CA6  2F00                     move.l     -[A7], D0
  7780. 00004CA8  7200                     moveq.l    D1, 0x00
  7781. 00004CAA  2F01                     move.l     -[A7], D1
  7782. 00004CAC  4878 00E0                push.l     0xE0
  7783. 00004CB0  4EBA C8E0                jsr        [PC - 0x3720 /* 00001592 */]
  7784. 00004CB4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7785. 00004CB8  6000 0424                bra        +0x426 /* 000050DE */
  7786. label00004CBC:
  7787. 00004CBC  2F0C                     move.l     -[A7], A4
  7788. 00004CBE  707A                     moveq.l    D0, 0x7A
  7789. 00004CC0  2F00                     move.l     -[A7], D0
  7790. 00004CC2  7200                     moveq.l    D1, 0x00
  7791. 00004CC4  2F01                     move.l     -[A7], D1
  7792. 00004CC6  4878 00E0                push.l     0xE0
  7793. 00004CCA  4EBA C8C6                jsr        [PC - 0x373A /* 00001592 */]
  7794. 00004CCE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7795. 00004CD2  6000 040A                bra        +0x40C /* 000050DE */
  7796. label00004CD6:
  7797. 00004CD6  3A3C E09F                move.w     D5, 0xE09F
  7798. 00004CDA  6000 0402                bra        +0x404 /* 000050DE */
  7799. label00004CDE:
  7800. 00004CDE  4A6B 001C                tst.w      [A3 + 0x1C]
  7801. 00004CE2  6704                     beq        +0x6 /* 00004CE8 */
  7802. 00004CE4  7000                     moveq.l    D0, 0x00
  7803. 00004CE6  6002                     bra        +0x4 /* 00004CEA */
  7804. label00004CE8:
  7805. 00004CE8  7001                     moveq.l    D0, 0x01
  7806. label00004CEA:
  7807. 00004CEA  2F00                     move.l     -[A7], D0
  7808. 00004CEC  7000                     moveq.l    D0, 0x00
  7809. 00004CEE  2F00                     move.l     -[A7], D0
  7810. 00004CF0  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  7811. 00004CF6  7203                     moveq.l    D1, 0x03
  7812. 00004CF8  2F01                     move.l     -[A7], D1
  7813. 00004CFA  2F07                     move.l     -[A7], D7
  7814. 00004CFC  4EBA BA72                jsr        [PC - 0x458E /* 00000770 */]
  7815. 00004D00  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7816. 00004D04  6000 03D8                bra        +0x3DA /* 000050DE */
  7817. label00004D08:
  7818. 00004D08  4A6B 001C                tst.w      [A3 + 0x1C]
  7819. 00004D0C  6704                     beq        +0x6 /* 00004D12 */
  7820. 00004D0E  7001                     moveq.l    D0, 0x01
  7821. 00004D10  6002                     bra        +0x4 /* 00004D14 */
  7822. label00004D12:
  7823. 00004D12  7000                     moveq.l    D0, 0x00
  7824. label00004D14:
  7825. 00004D14  2F00                     move.l     -[A7], D0
  7826. 00004D16  7001                     moveq.l    D0, 0x01
  7827. 00004D18  2F00                     move.l     -[A7], D0
  7828. 00004D1A  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  7829. 00004D20  7203                     moveq.l    D1, 0x03
  7830. 00004D22  2F01                     move.l     -[A7], D1
  7831. 00004D24  2F07                     move.l     -[A7], D7
  7832. 00004D26  4EBA BA48                jsr        [PC - 0x45B8 /* 00000770 */]
  7833. 00004D2A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7834. 00004D2E  6000 03AE                bra        +0x3B0 /* 000050DE */
  7835. label00004D32:
  7836. 00004D32  7062                     moveq.l    D0, 0x62
  7837. 00004D34  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7838. 00004D38  6606                     bne        +0x8 /* 00004D40 */
  7839. 00004D3A  7AEF                     moveq.l    D5, 0xFFFFFFEF
  7840. 00004D3C  6000 03A0                bra        +0x3A2 /* 000050DE */
  7841. label00004D40:
  7842. 00004D40  7003                     moveq.l    D0, 0x03
  7843. 00004D42  2F00                     move.l     -[A7], D0
  7844. 00004D44  7200                     moveq.l    D1, 0x00
  7845. 00004D46  2F01                     move.l     -[A7], D1
  7846. 00004D48  342B 001C                move.w     D2, [A3 + 0x1C]
  7847. 00004D4C  48C2                     ext.l      D2
  7848. 00004D4E  2F02                     move.l     -[A7], D2
  7849. 00004D50  4EBA B9A6                jsr        [PC - 0x465A /* 000006F8 */]
  7850. 00004D54  4A40                     tst.w      D0
  7851. 00004D56  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7852. 00004D5A  6608                     bne        +0xA /* 00004D64 */
  7853. 00004D5C  3A3C E09E                move.w     D5, 0xE09E
  7854. 00004D60  6000 037C                bra        +0x37E /* 000050DE */
  7855. label00004D64:
  7856. 00004D64  2F0C                     move.l     -[A7], A4
  7857. 00004D66  7000                     moveq.l    D0, 0x00
  7858. 00004D68  102C 0038                move.b     D0, [A4 + 0x38]
  7859. 00004D6C  4A80                     tst.l      D0
  7860. 00004D6E  729F                     moveq.l    D1, 0xFFFFFF9F
  7861. 00004D70  C200                     and.b      D1, D0
  7862. 00004D72  7000                     moveq.l    D0, 0x00
  7863. 00004D74  1001                     move.b     D0, D1
  7864. 00004D76  4A80                     tst.l      D0
  7865. 00004D78  322B 001C                move.w     D1, [A3 + 0x1C]
  7866. 00004D7C  48C1                     ext.l      D1
  7867. 00004D7E  EB89                     lsl        D1, 5
  7868. 00004D80  8280                     or.l       D1, D0
  7869. 00004D82  2F01                     move.l     -[A7], D1
  7870. 00004D84  700C                     moveq.l    D0, 0x0C
  7871. 00004D86  2F00                     move.l     -[A7], D0
  7872. 00004D88  4878 008A                push.l     0x8A
  7873. 00004D8C  4EBA C804                jsr        [PC - 0x37FC /* 00001592 */]
  7874. 00004D90  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7875. 00004D94  6000 0348                bra        +0x34A /* 000050DE */
  7876. label00004D98:
  7877. 00004D98  7062                     moveq.l    D0, 0x62
  7878. 00004D9A  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7879. 00004D9E  6606                     bne        +0x8 /* 00004DA6 */
  7880. 00004DA0  7AEF                     moveq.l    D5, 0xFFFFFFEF
  7881. 00004DA2  6000 033A                bra        +0x33C /* 000050DE */
  7882. label00004DA6:
  7883. 00004DA6  2F0C                     move.l     -[A7], A4
  7884. 00004DA8  7000                     moveq.l    D0, 0x00
  7885. 00004DAA  102C 0038                move.b     D0, [A4 + 0x38]
  7886. 00004DAE  4A80                     tst.l      D0
  7887. 00004DB0  323C FF7F                move.w     D1, 0xFF7F
  7888. 00004DB4  C240                     and.w      D1, D0
  7889. 00004DB6  7000                     moveq.l    D0, 0x00
  7890. 00004DB8  3001                     move.w     D0, D1
  7891. 00004DBA  4A80                     tst.l      D0
  7892. 00004DBC  4A6B 001C                tst.w      [A3 + 0x1C]
  7893. 00004DC0  6708                     beq        +0xA /* 00004DCA */
  7894. 00004DC2  223C 0000 0080           move.l     D1, 0x80
  7895. 00004DC8  6002                     bra        +0x4 /* 00004DCC */
  7896. label00004DCA:
  7897. 00004DCA  7200                     moveq.l    D1, 0x00
  7898. label00004DCC:
  7899. 00004DCC  7400                     moveq.l    D2, 0x00
  7900. 00004DCE  1401                     move.b     D2, D1
  7901. 00004DD0  4A82                     tst.l      D2
  7902. 00004DD2  8440                     or.w       D2, D0
  7903. 00004DD4  2F02                     move.l     -[A7], D2
  7904. 00004DD6  700C                     moveq.l    D0, 0x0C
  7905. 00004DD8  2F00                     move.l     -[A7], D0
  7906. 00004DDA  4878 008A                push.l     0x8A
  7907. 00004DDE  4EBA C7B2                jsr        [PC - 0x384E /* 00001592 */]
  7908. 00004DE2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7909. 00004DE6  6000 02F6                bra        +0x2F8 /* 000050DE */
  7910. label00004DEA:
  7911. 00004DEA  7062                     moveq.l    D0, 0x62
  7912. 00004DEC  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7913. 00004DF0  6606                     bne        +0x8 /* 00004DF8 */
  7914. 00004DF2  7AEF                     moveq.l    D5, 0xFFFFFFEF
  7915. 00004DF4  6000 02E8                bra        +0x2EA /* 000050DE */
  7916. label00004DF8:
  7917. 00004DF8  2F0C                     move.l     -[A7], A4
  7918. 00004DFA  7000                     moveq.l    D0, 0x00
  7919. 00004DFC  102C 003B                move.b     D0, [A4 + 0x3B]
  7920. 00004E00  4A80                     tst.l      D0
  7921. 00004E02  72BF                     moveq.l    D1, 0xFFFFFFBF
  7922. 00004E04  C200                     and.b      D1, D0
  7923. 00004E06  7000                     moveq.l    D0, 0x00
  7924. 00004E08  1001                     move.b     D0, D1
  7925. 00004E0A  4A80                     tst.l      D0
  7926. 00004E0C  4A6B 001C                tst.w      [A3 + 0x1C]
  7927. 00004E10  6704                     beq        +0x6 /* 00004E16 */
  7928. 00004E12  7240                     moveq.l    D1, 0x40
  7929. 00004E14  6002                     bra        +0x4 /* 00004E18 */
  7930. label00004E16:
  7931. 00004E16  7200                     moveq.l    D1, 0x00
  7932. label00004E18:
  7933. 00004E18  49C1                     lea.l      A4, D1
  7934. 00004E1A  8200                     or.b       D1, D0
  7935. 00004E1C  2F01                     move.l     -[A7], D1
  7936. 00004E1E  700F                     moveq.l    D0, 0x0F
  7937. 00004E20  2F00                     move.l     -[A7], D0
  7938. 00004E22  4878 008A                push.l     0x8A
  7939. 00004E26  4EBA C76A                jsr        [PC - 0x3896 /* 00001592 */]
  7940. 00004E2A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7941. 00004E2E  6000 02AE                bra        +0x2B0 /* 000050DE */
  7942. label00004E32:
  7943. 00004E32  7062                     moveq.l    D0, 0x62
  7944. 00004E34  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7945. 00004E38  6606                     bne        +0x8 /* 00004E40 */
  7946. 00004E3A  7AEF                     moveq.l    D5, 0xFFFFFFEF
  7947. 00004E3C  6000 02A0                bra        +0x2A2 /* 000050DE */
  7948. label00004E40:
  7949. 00004E40  7003                     moveq.l    D0, 0x03
  7950. 00004E42  2F00                     move.l     -[A7], D0
  7951. 00004E44  7200                     moveq.l    D1, 0x00
  7952. 00004E46  2F01                     move.l     -[A7], D1
  7953. 00004E48  342B 001C                move.w     D2, [A3 + 0x1C]
  7954. 00004E4C  48C2                     ext.l      D2
  7955. 00004E4E  2F02                     move.l     -[A7], D2
  7956. 00004E50  4EBA B8A6                jsr        [PC - 0x475A /* 000006F8 */]
  7957. 00004E54  4A40                     tst.w      D0
  7958. 00004E56  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7959. 00004E5A  6608                     bne        +0xA /* 00004E64 */
  7960. 00004E5C  3A3C E09C                move.w     D5, 0xE09C
  7961. 00004E60  6000 027C                bra        +0x27E /* 000050DE */
  7962. label00004E64:
  7963. 00004E64  2F0C                     move.l     -[A7], A4
  7964. 00004E66  7000                     moveq.l    D0, 0x00
  7965. 00004E68  102C 003C                move.b     D0, [A4 + 0x3C]
  7966. 00004E6C  4A80                     tst.l      D0
  7967. 00004E6E  72FC                     moveq.l    D1, 0xFFFFFFFC
  7968. 00004E70  C200                     and.b      D1, D0
  7969. 00004E72  7000                     moveq.l    D0, 0x00
  7970. 00004E74  1001                     move.b     D0, D1
  7971. 00004E76  4A80                     tst.l      D0
  7972. 00004E78  322B 001C                move.w     D1, [A3 + 0x1C]
  7973. 00004E7C  8240                     or.w       D1, D0
  7974. 00004E7E  2F01                     move.l     -[A7], D1
  7975. 00004E80  7010                     moveq.l    D0, 0x10
  7976. 00004E82  2F00                     move.l     -[A7], D0
  7977. 00004E84  4878 008A                push.l     0x8A
  7978. 00004E88  4EBA C708                jsr        [PC - 0x38F8 /* 00001592 */]
  7979. 00004E8C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7980. 00004E90  6000 024C                bra        +0x24E /* 000050DE */
  7981. label00004E94:
  7982. 00004E94  2F0C                     move.l     -[A7], A4
  7983. 00004E96  7000                     moveq.l    D0, 0x00
  7984. 00004E98  102C 0032                move.b     D0, [A4 + 0x32]
  7985. 00004E9C  4A80                     tst.l      D0
  7986. 00004E9E  72BF                     moveq.l    D1, 0xFFFFFFBF
  7987. 00004EA0  C200                     and.b      D1, D0
  7988. 00004EA2  7000                     moveq.l    D0, 0x00
  7989. 00004EA4  1001                     move.b     D0, D1
  7990. 00004EA6  4A80                     tst.l      D0
  7991. 00004EA8  4A6B 001C                tst.w      [A3 + 0x1C]
  7992. 00004EAC  6704                     beq        +0x6 /* 00004EB2 */
  7993. 00004EAE  7240                     moveq.l    D1, 0x40
  7994. 00004EB0  6002                     bra        +0x4 /* 00004EB4 */
  7995. label00004EB2:
  7996. 00004EB2  7200                     moveq.l    D1, 0x00
  7997. label00004EB4:
  7998. 00004EB4  49C1                     lea.l      A4, D1
  7999. 00004EB6  8200                     or.b       D1, D0
  8000. 00004EB8  2F01                     move.l     -[A7], D1
  8001. 00004EBA  7006                     moveq.l    D0, 0x06
  8002. 00004EBC  2F00                     move.l     -[A7], D0
  8003. 00004EBE  4878 008A                push.l     0x8A
  8004. 00004EC2  4EBA C6CE                jsr        [PC - 0x3932 /* 00001592 */]
  8005. 00004EC6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8006. 00004ECA  6000 0212                bra        +0x214 /* 000050DE */
  8007. label00004ECE:
  8008. 00004ECE  7003                     moveq.l    D0, 0x03
  8009. 00004ED0  2F00                     move.l     -[A7], D0
  8010. 00004ED2  7200                     moveq.l    D1, 0x00
  8011. 00004ED4  2F01                     move.l     -[A7], D1
  8012. 00004ED6  342B 001C                move.w     D2, [A3 + 0x1C]
  8013. 00004EDA  48C2                     ext.l      D2
  8014. 00004EDC  2F02                     move.l     -[A7], D2
  8015. 00004EDE  4EBA B818                jsr        [PC - 0x47E8 /* 000006F8 */]
  8016. 00004EE2  4A40                     tst.w      D0
  8017. 00004EE4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8018. 00004EE8  6608                     bne        +0xA /* 00004EF2 */
  8019. 00004EEA  3A3C E09B                move.w     D5, 0xE09B
  8020. 00004EEE  6000 01EE                bra        +0x1F0 /* 000050DE */
  8021. label00004EF2:
  8022. 00004EF2  2F0C                     move.l     -[A7], A4
  8023. 00004EF4  7000                     moveq.l    D0, 0x00
  8024. 00004EF6  102C 0032                move.b     D0, [A4 + 0x32]
  8025. 00004EFA  4A80                     tst.l      D0
  8026. 00004EFC  72CF                     moveq.l    D1, 0xFFFFFFCF
  8027. 00004EFE  C200                     and.b      D1, D0
  8028. 00004F00  7000                     moveq.l    D0, 0x00
  8029. 00004F02  1001                     move.b     D0, D1
  8030. 00004F04  4A80                     tst.l      D0
  8031. 00004F06  322B 001C                move.w     D1, [A3 + 0x1C]
  8032. 00004F0A  48C1                     ext.l      D1
  8033. 00004F0C  E989                     lsl        D1, 4
  8034. 00004F0E  8280                     or.l       D1, D0
  8035. 00004F10  2F01                     move.l     -[A7], D1
  8036. 00004F12  7006                     moveq.l    D0, 0x06
  8037. 00004F14  2F00                     move.l     -[A7], D0
  8038. 00004F16  4878 008A                push.l     0x8A
  8039. 00004F1A  4EBA C676                jsr        [PC - 0x398A /* 00001592 */]
  8040. 00004F1E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8041. 00004F22  6000 01BA                bra        +0x1BC /* 000050DE */
  8042. label00004F26:
  8043. 00004F26  7003                     moveq.l    D0, 0x03
  8044. 00004F28  2F00                     move.l     -[A7], D0
  8045. 00004F2A  7200                     moveq.l    D1, 0x00
  8046. 00004F2C  2F01                     move.l     -[A7], D1
  8047. 00004F2E  342B 001C                move.w     D2, [A3 + 0x1C]
  8048. 00004F32  48C2                     ext.l      D2
  8049. 00004F34  2F02                     move.l     -[A7], D2
  8050. 00004F36  4EBA B7C0                jsr        [PC - 0x4840 /* 000006F8 */]
  8051. 00004F3A  4A40                     tst.w      D0
  8052. 00004F3C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8053. 00004F40  6608                     bne        +0xA /* 00004F4A */
  8054. 00004F42  3A3C E09A                move.w     D5, 0xE09A
  8055. 00004F46  6000 0196                bra        +0x198 /* 000050DE */
  8056. label00004F4A:
  8057. 00004F4A  2F0C                     move.l     -[A7], A4
  8058. 00004F4C  7000                     moveq.l    D0, 0x00
  8059. 00004F4E  102C 0032                move.b     D0, [A4 + 0x32]
  8060. 00004F52  4A80                     tst.l      D0
  8061. 00004F54  72F3                     moveq.l    D1, 0xFFFFFFF3
  8062. 00004F56  C200                     and.b      D1, D0
  8063. 00004F58  7000                     moveq.l    D0, 0x00
  8064. 00004F5A  1001                     move.b     D0, D1
  8065. 00004F5C  4A80                     tst.l      D0
  8066. 00004F5E  322B 001C                move.w     D1, [A3 + 0x1C]
  8067. 00004F62  48C1                     ext.l      D1
  8068. 00004F64  E589                     lsl        D1, 2
  8069. 00004F66  8280                     or.l       D1, D0
  8070. 00004F68  2F01                     move.l     -[A7], D1
  8071. 00004F6A  7006                     moveq.l    D0, 0x06
  8072. 00004F6C  2F00                     move.l     -[A7], D0
  8073. 00004F6E  4878 008A                push.l     0x8A
  8074. 00004F72  4EBA C61E                jsr        [PC - 0x39E2 /* 00001592 */]
  8075. 00004F76  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8076. 00004F7A  6000 0162                bra        +0x164 /* 000050DE */
  8077. label00004F7E:
  8078. 00004F7E  7003                     moveq.l    D0, 0x03
  8079. 00004F80  2F00                     move.l     -[A7], D0
  8080. 00004F82  7200                     moveq.l    D1, 0x00
  8081. 00004F84  2F01                     move.l     -[A7], D1
  8082. 00004F86  342B 001C                move.w     D2, [A3 + 0x1C]
  8083. 00004F8A  48C2                     ext.l      D2
  8084. 00004F8C  2F02                     move.l     -[A7], D2
  8085. 00004F8E  4EBA B768                jsr        [PC - 0x4898 /* 000006F8 */]
  8086. 00004F92  4A40                     tst.w      D0
  8087. 00004F94  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8088. 00004F98  6608                     bne        +0xA /* 00004FA2 */
  8089. 00004F9A  3A3C E099                move.w     D5, 0xE099
  8090. 00004F9E  6000 013E                bra        +0x140 /* 000050DE */
  8091. label00004FA2:
  8092. 00004FA2  2F0C                     move.l     -[A7], A4
  8093. 00004FA4  7000                     moveq.l    D0, 0x00
  8094. 00004FA6  102C 0032                move.b     D0, [A4 + 0x32]
  8095. 00004FAA  4A80                     tst.l      D0
  8096. 00004FAC  72FC                     moveq.l    D1, 0xFFFFFFFC
  8097. 00004FAE  C200                     and.b      D1, D0
  8098. 00004FB0  7000                     moveq.l    D0, 0x00
  8099. 00004FB2  1001                     move.b     D0, D1
  8100. 00004FB4  4A80                     tst.l      D0
  8101. 00004FB6  322B 001C                move.w     D1, [A3 + 0x1C]
  8102. 00004FBA  8240                     or.w       D1, D0
  8103. 00004FBC  2F01                     move.l     -[A7], D1
  8104. 00004FBE  7006                     moveq.l    D0, 0x06
  8105. 00004FC0  2F00                     move.l     -[A7], D0
  8106. 00004FC2  4878 008A                push.l     0x8A
  8107. 00004FC6  4EBA C5CA                jsr        [PC - 0x3A36 /* 00001592 */]
  8108. 00004FCA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8109. 00004FCE  6000 010E                bra        +0x110 /* 000050DE */
  8110. label00004FD2:
  8111. 00004FD2  4878 01FF                push.l     0x1FF
  8112. 00004FD6  7000                     moveq.l    D0, 0x00
  8113. 00004FD8  2F00                     move.l     -[A7], D0
  8114. 00004FDA  322B 001C                move.w     D1, [A3 + 0x1C]
  8115. 00004FDE  48C1                     ext.l      D1
  8116. 00004FE0  2F01                     move.l     -[A7], D1
  8117. 00004FE2  4EBA B714                jsr        [PC - 0x48EC /* 000006F8 */]
  8118. 00004FE6  4A40                     tst.w      D0
  8119. 00004FE8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8120. 00004FEC  6768                     beq        +0x6A /* 00005056 */
  8121. 00004FEE  4878 01FF                push.l     0x1FF
  8122. 00004FF2  7000                     moveq.l    D0, 0x00
  8123. 00004FF4  2F00                     move.l     -[A7], D0
  8124. 00004FF6  322B 0020                move.w     D1, [A3 + 0x20]
  8125. 00004FFA  48C1                     ext.l      D1
  8126. 00004FFC  2F01                     move.l     -[A7], D1
  8127. 00004FFE  4EBA B6F8                jsr        [PC - 0x4908 /* 000006F8 */]
  8128. 00005002  4A40                     tst.w      D0
  8129. 00005004  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8130. 00005008  674C                     beq        +0x4E /* 00005056 */
  8131. 0000500A  4878 03FF                push.l     0x3FF
  8132. 0000500E  7000                     moveq.l    D0, 0x00
  8133. 00005010  2F00                     move.l     -[A7], D0
  8134. 00005012  322B 001E                move.w     D1, [A3 + 0x1E]
  8135. 00005016  48C1                     ext.l      D1
  8136. 00005018  2F01                     move.l     -[A7], D1
  8137. 0000501A  4EBA B6DC                jsr        [PC - 0x4924 /* 000006F8 */]
  8138. 0000501E  4A40                     tst.w      D0
  8139. 00005020  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8140. 00005024  6730                     beq        +0x32 /* 00005056 */
  8141. 00005026  4878 03FF                push.l     0x3FF
  8142. 0000502A  7000                     moveq.l    D0, 0x00
  8143. 0000502C  2F00                     move.l     -[A7], D0
  8144. 0000502E  322B 0022                move.w     D1, [A3 + 0x22]
  8145. 00005032  48C1                     ext.l      D1
  8146. 00005034  2F01                     move.l     -[A7], D1
  8147. 00005036  4EBA B6C0                jsr        [PC - 0x4940 /* 000006F8 */]
  8148. 0000503A  4A40                     tst.w      D0
  8149. 0000503C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8150. 00005040  6714                     beq        +0x16 /* 00005056 */
  8151. 00005042  302B 001C                move.w     D0, [A3 + 0x1C]
  8152. 00005046  B06B 0020                cmp.w      D0, [A3 + 0x20]
  8153. 0000504A  6E0A                     bgt        +0xC /* 00005056 */
  8154. 0000504C  302B 001E                move.w     D0, [A3 + 0x1E]
  8155. 00005050  B06B 0022                cmp.w      D0, [A3 + 0x22]
  8156. 00005054  6F08                     ble        +0xA /* 0000505E */
  8157. label00005056:
  8158. 00005056  3A3C E098                move.w     D5, 0xE098
  8159. 0000505A  6000 0082                bra        +0x84 /* 000050DE */
  8160. label0000505E:
  8161. 0000505E  0C6B 00FF 0024           cmpi.w     [A3 + 0x24], 0xFF
  8162. 00005064  6E10                     bgt        +0x12 /* 00005076 */
  8163. 00005066  0C6B 00FF 0026           cmpi.w     [A3 + 0x26], 0xFF
  8164. 0000506C  6E08                     bgt        +0xA /* 00005076 */
  8165. 0000506E  0C6B 00FF 0028           cmpi.w     [A3 + 0x28], 0xFF
  8166. 00005074  6F06                     ble        +0x8 /* 0000507C */
  8167. label00005076:
  8168. 00005076  3A3C E097                move.w     D5, 0xE097
  8169. 0000507A  6062                     bra        +0x64 /* 000050DE */
  8170. label0000507C:
  8171. 0000507C  2F07                     move.l     -[A7], D7
  8172. 0000507E  302B 002C                move.w     D0, [A3 + 0x2C]
  8173. 00005082  48C0                     ext.l      D0
  8174. 00005084  2F00                     move.l     -[A7], D0
  8175. 00005086  302B 002A                move.w     D0, [A3 + 0x2A]
  8176. 0000508A  48C0                     ext.l      D0
  8177. 0000508C  2F00                     move.l     -[A7], D0
  8178. 0000508E  302B 0028                move.w     D0, [A3 + 0x28]
  8179. 00005092  48C0                     ext.l      D0
  8180. 00005094  2F00                     move.l     -[A7], D0
  8181. 00005096  302B 0026                move.w     D0, [A3 + 0x26]
  8182. 0000509A  48C0                     ext.l      D0
  8183. 0000509C  2F00                     move.l     -[A7], D0
  8184. 0000509E  302B 0024                move.w     D0, [A3 + 0x24]
  8185. 000050A2  48C0                     ext.l      D0
  8186. 000050A4  2F00                     move.l     -[A7], D0
  8187. 000050A6  302B 0022                move.w     D0, [A3 + 0x22]
  8188. 000050AA  48C0                     ext.l      D0
  8189. 000050AC  2F00                     move.l     -[A7], D0
  8190. 000050AE  302B 0020                move.w     D0, [A3 + 0x20]
  8191. 000050B2  48C0                     ext.l      D0
  8192. 000050B4  2F00                     move.l     -[A7], D0
  8193. 000050B6  302B 001E                move.w     D0, [A3 + 0x1E]
  8194. 000050BA  48C0                     ext.l      D0
  8195. 000050BC  2F00                     move.l     -[A7], D0
  8196. 000050BE  302B 001C                move.w     D0, [A3 + 0x1C]
  8197. 000050C2  48C0                     ext.l      D0
  8198. 000050C4  2F00                     move.l     -[A7], D0
  8199. 000050C6  4EBA B064                jsr        [PC - 0x4F9C /* 0000012C */]
  8200. 000050CA  4FEF 0028                lea.l      A7, [A7 + 0x28]
  8201. 000050CE  600E                     bra        +0x10 /* 000050DE */
  8202. label000050D0:
  8203. 000050D0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8204. 000050D4  4EBA DE92                jsr        [PC - 0x216E /* 00002F68 */]
  8205. 000050D8  584F                     addq.w     A7, 4
  8206. 000050DA  6002                     bra        +0x4 /* 000050DE */
  8207. label000050DC:
  8208. 000050DC  7AEF                     moveq.l    D5, 0xFFFFFFEF
  8209. label000050DE:
  8210. 000050DE  226E FFC2                movea.l    A1, [A6 - 0x3E]
  8211. 000050E2  3029 0002                move.w     D0, [A1 + 0x2]
  8212. 000050E6  48C0                     ext.l      D0
  8213. 000050E8  226E FFC2                movea.l    A1, [A6 - 0x3E]
  8214. 000050EC  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  8215. 000050F0  A02A                     syscall    HUnlock
  8216. 000050F2  226E 0008                movea.l    A1, [A6 + 0x8]
  8217. 000050F6  2069 0014                movea.l    A0, [A1 + 0x14]
  8218. 000050FA  A02A                     syscall    HUnlock
  8219. 000050FC  3D45 0010                move.w     [A6 + 0x10], D5
  8220. 00005100  4CEE 18F8 FF96           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x6A]
  8221. 00005106  4E5E                     unlink     A6
  8222. 00005108  4E74 0008                rtd        0x0008
  8223. 0000510C  4E56 FFD4                link       A6, -0x002C
  8224. 00005110  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  8225. 00005114  266E 000C                movea.l    A3, [A6 + 0xC]
  8226. 00005118  226E 0008                movea.l    A1, [A6 + 0x8]
  8227. 0000511C  2069 0014                movea.l    A0, [A1 + 0x14]
  8228. 00005120  A029                     syscall    HLock
  8229. 00005122  206E 0008                movea.l    A0, [A6 + 0x8]
  8230. 00005126  2068 0014                movea.l    A0, [A0 + 0x14]
  8231. 0000512A  2D50 FFD8                move.l     [A6 - 0x28], [A0]
  8232. 0000512E  226E FFD8                movea.l    A1, [A6 - 0x28]
  8233. 00005132  3029 0002                move.w     D0, [A1 + 0x2]
  8234. 00005136  48C0                     ext.l      D0
  8235. 00005138  226E FFD8                movea.l    A1, [A6 - 0x28]
  8236. 0000513C  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  8237. 00005140  A029                     syscall    HLock
  8238. 00005142  206E FFD8                movea.l    A0, [A6 - 0x28]
  8239. 00005146  3028 0002                move.w     D0, [A0 + 0x2]
  8240. 0000514A  48C0                     ext.l      D0
  8241. 0000514C  206E FFD8                movea.l    A0, [A6 - 0x28]
  8242. 00005150  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  8243. 00005154  2D50 FFDC                move.l     [A6 - 0x24], [A0]
  8244. 00005158  206E FFDC                movea.l    A0, [A6 - 0x24]
  8245. 0000515C  2068 000A                movea.l    A0, [A0 + 0xA]
  8246. 00005160  2D50 FFE0                move.l     [A6 - 0x20], [A0]
  8247. 00005164  4245                     clr.w      D5
  8248. 00005166  206E FFDC                movea.l    A0, [A6 - 0x24]
  8249. 0000516A  2E10                     move.l     D7, [A0]
  8250. 0000516C  2847                     movea.l    A4, D7
  8251. 0000516E  D9FC 00FE 601B           add.l      A4, 0xFE601B
  8252. 00005174  2007                     move.l     D0, D7
  8253. 00005176  D0BC 00FE 7018           add.l      D0, 0xFE7018
  8254. 0000517C  2D40 FFE4                move.l     [A6 - 0x1C], D0
  8255. 00005180  302B 001A                move.w     D0, [A3 + 0x1A]
  8256. 00005184  0440 2329                subi.w     D0, 0x2329 /* '#)' */
  8257. 00005188  6B00 0D40                bmi        +0xD42 /* 00005ECA */
  8258. 0000518C  0C40 003A                cmpi.w     D0, 0x3A /* ':' */
  8259. 00005190  6E00 0D38                bgt        +0xD3A /* 00005ECA */
  8260. 00005194  D040                     add.w      D0, D0
  8261. 00005196  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  8262. 0000519A  4EFB 0000                jmp        [PC + D0.w]
  8263. 0000519E  0078 008E 00A6           ori.w      [0x000000A6], 0x8E
  8264. 000051A4  00C0                     .incomplete
  8265. 000051A6  00D6                     .incomplete
  8266. 000051A8  02C8                     .incomplete
  8267. 000051AA  02DC                     .incomplete
  8268. 000051AC  0D2E 0D2E                btst       [A6 + 0xD2E], D6
  8269. 000051B0  0D2E 0D2E                btst       [A6 + 0xD2E], D6
  8270. 000051B4  0302                     btst       D2, D1
  8271. 000051B6  048A 0D2E 051E           subi.l     A2, 0xD2E051E
  8272. 000051BC  05AE 05CE                bclr       [A6 + 0x5CE], D2
  8273. 000051C0  05F2                     .incomplete
  8274. 000051C2  0614 0638                addi.b     [A4], 0x38 /* '8' */
  8275. 000051C6  065C 0D2E                addi.w     [A4]+, 0xD2E /* '\r.' */
  8276. 000051CA  0D2E 0680                btst       [A6 + 0x680], D6
  8277. 000051CE  06A0 06DE 0D2E           addi.l     -[A0], 0x6DE0D2E
  8278. 000051D4  07CC                     .incomplete
  8279. 000051D6  0804 0D2E                btst.b     D4, 0x2E /* '.' */
  8280. 000051DA  08E0 0D2E                bset.b     -[A0], 0x2E /* '.' */
  8281. 000051DE  0D2E 0962                btst       [A6 + 0x962], D6
  8282. 000051E2  09B4 0A0E                bclr       [A4 + D0 * 2 + 0xE], D4
  8283. 000051E6  0A2E 0A4C 0D2E           xori.b     [A6 + 0xD2E], 0x4C /* 'L' */
  8284. 000051EC  0A5A 0A74                xori.w     [A2]+, 0xA74 /* '\nt' */
  8285. 000051F0  0AB0 0AFA 0B26 0D2E 0B5A 0B86 xori.l     [[A0 + 0xB5A] + D0 * 4 + 0xB86], 0xAFA0B26
  8286. 000051FC  0BB2 0BE4                bclr       <<invalid full ext with I/IS == 4>>, D5
  8287. 00005200  0C1A 0D2E                cmpi.b     [A2]+, 0x2E /* '.' */
  8288. 00005204  0C4E 0C7E                cmpi.w     A6, 0xC7E
  8289. 00005208  0CA0 0CBE 0CDC           cmpi.l     -[A0], 0xCBE0CDC
  8290. 0000520E  0CF8                     .incomplete
  8291. 00005210  0CFC                     .incomplete
  8292. 00005212  0D18                     btst       [A0]+, D6
  8293. 00005214  206E FFE0                movea.l    A0, [A6 - 0x20]
  8294. 00005218  1028 0723                move.b     D0, [A0 + 0x723]
  8295. 0000521C  5300                     subq.b     D0, 1
  8296. 0000521E  7201                     moveq.l    D1, 0x01
  8297. 00005220  E1A9                     lsl        D1, D0
  8298. 00005222  3741 001C                move.w     [A3 + 0x1C], D1
  8299. 00005226  6000 0CA4                bra        +0xCA6 /* 00005ECC */
  8300. 0000522A  206E FFE0                movea.l    A0, [A6 - 0x20]
  8301. 0000522E  3768 0728 001C           move.w     [A3 + 0x1C], [A0 + 0x728]
  8302. 00005234  206E FFE0                movea.l    A0, [A6 - 0x20]
  8303. 00005238  3768 072A 001E           move.w     [A3 + 0x1E], [A0 + 0x72A]
  8304. 0000523E  6000 0C8C                bra        +0xC8E /* 00005ECC */
  8305. 00005242  2F3C 00FE 600C           move.l     -[A7], 0xFE600C
  8306. 00005248  2F07                     move.l     -[A7], D7
  8307. 0000524A  4EBA B940                jsr        [PC - 0x46C0 /* 00000B8C */]
  8308. 0000524E  7201                     moveq.l    D1, 0x01
  8309. 00005250  C240                     and.w      D1, D0
  8310. 00005252  3741 001C                move.w     [A3 + 0x1C], D1
  8311. 00005256  504F                     addq.w     A7, 8
  8312. 00005258  6000 0C72                bra        +0xC74 /* 00005ECC */
  8313. 0000525C  2F3C 00FE 6020           move.l     -[A7], 0xFE6020
  8314. 00005262  2F07                     move.l     -[A7], D7
  8315. 00005264  4EBA B926                jsr        [PC - 0x46DA /* 00000B8C */]
  8316. 00005268  3740 001C                move.w     [A3 + 0x1C], D0
  8317. 0000526C  504F                     addq.w     A7, 8
  8318. 0000526E  6000 0C5C                bra        +0xC5E /* 00005ECC */
  8319. 00005272  206E FFDC                movea.l    A0, [A6 - 0x24]
  8320. 00005276  7000                     moveq.l    D0, 0x00
  8321. 00005278  1028 003A                move.b     D0, [A0 + 0x3A]
  8322. 0000527C  4A80                     tst.l      D0
  8323. 0000527E  7202                     moveq.l    D1, 0x02
  8324. 00005280  C200                     and.b      D1, D0
  8325. 00005282  6704                     beq        +0x6 /* 00005288 */
  8326. 00005284  7000                     moveq.l    D0, 0x00
  8327. 00005286  6002                     bra        +0x4 /* 0000528A */
  8328. label00005288:
  8329. 00005288  7001                     moveq.l    D0, 0x01
  8330. label0000528A:
  8331. 0000528A  4880                     ext.w      D0
  8332. 0000528C  3740 001E                move.w     [A3 + 0x1E], D0
  8333. 00005290  206E FFDC                movea.l    A0, [A6 - 0x24]
  8334. 00005294  7062                     moveq.l    D0, 0x62
  8335. 00005296  B068 0146                cmp.w      D0, [A0 + 0x146]
  8336. 0000529A  660A                     bne        +0xC /* 000052A6 */
  8337. 0000529C  377C 0003 001C           move.w     [A3 + 0x1C], 0x3
  8338. 000052A2  6000 019A                bra        +0x19C /* 0000543E */
  8339. label000052A6:
  8340. 000052A6  426B 001C                clr.w      [A3 + 0x1C]
  8341. 000052AA  2F07                     move.l     -[A7], D7
  8342. 000052AC  4EBA B706                jsr        [PC - 0x48FA /* 000009B4 */]
  8343. 000052B0  3C00                     move.w     D6, D0
  8344. 000052B2  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8345. 000052B6  4A6B 001E                tst.w      [A3 + 0x1E]
  8346. 000052BA  6704                     beq        +0x6 /* 000052C0 */
  8347. 000052BC  707A                     moveq.l    D0, 0x7A
  8348. 000052BE  6002                     bra        +0x4 /* 000052C2 */
  8349. label000052C0:
  8350. 000052C0  7078                     moveq.l    D0, 0x78
  8351. label000052C2:
  8352. 000052C2  2F00                     move.l     -[A7], D0
  8353. 000052C4  700E                     moveq.l    D0, 0x0E
  8354. 000052C6  2F00                     move.l     -[A7], D0
  8355. 000052C8  4878 008A                push.l     0x8A
  8356. 000052CC  4EBA C2C4                jsr        [PC - 0x3D3C /* 00001592 */]
  8357. 000052D0  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8358. 000052D4  206E FFDC                movea.l    A0, [A6 - 0x24]
  8359. 000052D8  7000                     moveq.l    D0, 0x00
  8360. 000052DA  1028 0032                move.b     D0, [A0 + 0x32]
  8361. 000052DE  4A80                     tst.l      D0
  8362. 000052E0  323C FF7F                move.w     D1, 0xFF7F
  8363. 000052E4  C240                     and.w      D1, D0
  8364. 000052E6  7000                     moveq.l    D0, 0x00
  8365. 000052E8  3001                     move.w     D0, D1
  8366. 000052EA  4A80                     tst.l      D0
  8367. 000052EC  4A6B 001E                tst.w      [A3 + 0x1E]
  8368. 000052F0  6708                     beq        +0xA /* 000052FA */
  8369. 000052F2  223C 0000 0080           move.l     D1, 0x80
  8370. 000052F8  6002                     bra        +0x4 /* 000052FC */
  8371. label000052FA:
  8372. 000052FA  7200                     moveq.l    D1, 0x00
  8373. label000052FC:
  8374. 000052FC  7400                     moveq.l    D2, 0x00
  8375. 000052FE  1401                     move.b     D2, D1
  8376. 00005300  4A82                     tst.l      D2
  8377. 00005302  8440                     or.w       D2, D0
  8378. 00005304  2F02                     move.l     -[A7], D2
  8379. 00005306  7006                     moveq.l    D0, 0x06
  8380. 00005308  2F00                     move.l     -[A7], D0
  8381. 0000530A  4878 008A                push.l     0x8A
  8382. 0000530E  4EBA C282                jsr        [PC - 0x3D7E /* 00001592 */]
  8383. 00005312  7014                     moveq.l    D0, 0x14
  8384. 00005314  2F00                     move.l     -[A7], D0
  8385. 00005316  4EBA AD44                jsr        [PC - 0x52BC /* 0000005C */]
  8386. 0000531A  7000                     moveq.l    D0, 0x00
  8387. 0000531C  2D40 FFF0                move.l     [A6 - 0x10], D0
  8388. 00005320  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8389. 00005324  2049                     movea.l    A0, A1
  8390. 00005326  A058                     syscall    InsTime
  8391. 00005328  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8392. 0000532C  2049                     movea.l    A0, A1
  8393. 0000532E  203C FFFE 7960           move.l     D0, 0xFFFE7960
  8394. 00005334  A05A                     syscall    PrimeTime
  8395. 00005336  4FEF 0028                lea.l      A7, [A7 + 0x28]
  8396. 0000533A  602E                     bra        +0x30 /* 0000536A */
  8397. label0000533C:
  8398. 0000533C  7007                     moveq.l    D0, 0x07
  8399. 0000533E  2F00                     move.l     -[A7], D0
  8400. 00005340  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8401. 00005346  7203                     moveq.l    D1, 0x03
  8402. 00005348  2F01                     move.l     -[A7], D1
  8403. 0000534A  2F07                     move.l     -[A7], D7
  8404. 0000534C  4EBA B7D0                jsr        [PC - 0x4830 /* 00000B1E */]
  8405. 00005350  4A40                     tst.w      D0
  8406. 00005352  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8407. 00005356  6712                     beq        +0x14 /* 0000536A */
  8408. 00005358  4A6B 001E                tst.w      [A3 + 0x1E]
  8409. 0000535C  6606                     bne        +0x8 /* 00005364 */
  8410. 0000535E  546B 001C                addq.w     [A3 + 0x1C], 2
  8411. 00005362  600C                     bra        +0xE /* 00005370 */
  8412. label00005364:
  8413. 00005364  526B 001C                addq.w     [A3 + 0x1C], 1
  8414. 00005368  6006                     bra        +0x8 /* 00005370 */
  8415. label0000536A:
  8416. 0000536A  4A6E FFEE                tst.w      [A6 - 0x12]
  8417. 0000536E  6DCC                     blt        -0x32 /* 0000533C */
  8418. label00005370:
  8419. 00005370  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8420. 00005374  2049                     movea.l    A0, A1
  8421. 00005376  A059                     syscall    RmvTime
  8422. 00005378  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8423. 0000537C  4A6B 001E                tst.w      [A3 + 0x1E]
  8424. 00005380  6704                     beq        +0x6 /* 00005386 */
  8425. 00005382  7078                     moveq.l    D0, 0x78
  8426. 00005384  6002                     bra        +0x4 /* 00005388 */
  8427. label00005386:
  8428. 00005386  707A                     moveq.l    D0, 0x7A
  8429. label00005388:
  8430. 00005388  2F00                     move.l     -[A7], D0
  8431. 0000538A  700E                     moveq.l    D0, 0x0E
  8432. 0000538C  2F00                     move.l     -[A7], D0
  8433. 0000538E  4878 008A                push.l     0x8A
  8434. 00005392  4EBA C1FE                jsr        [PC - 0x3E02 /* 00001592 */]
  8435. 00005396  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8436. 0000539A  206E FFDC                movea.l    A0, [A6 - 0x24]
  8437. 0000539E  7000                     moveq.l    D0, 0x00
  8438. 000053A0  1028 0032                move.b     D0, [A0 + 0x32]
  8439. 000053A4  4A80                     tst.l      D0
  8440. 000053A6  323C FF7F                move.w     D1, 0xFF7F
  8441. 000053AA  C240                     and.w      D1, D0
  8442. 000053AC  7000                     moveq.l    D0, 0x00
  8443. 000053AE  3001                     move.w     D0, D1
  8444. 000053B0  4A80                     tst.l      D0
  8445. 000053B2  4A6B 001E                tst.w      [A3 + 0x1E]
  8446. 000053B6  6708                     beq        +0xA /* 000053C0 */
  8447. 000053B8  223C 0000 0080           move.l     D1, 0x80
  8448. 000053BE  6002                     bra        +0x4 /* 000053C2 */
  8449. label000053C0:
  8450. 000053C0  7200                     moveq.l    D1, 0x00
  8451. label000053C2:
  8452. 000053C2  7400                     moveq.l    D2, 0x00
  8453. 000053C4  1401                     move.b     D2, D1
  8454. 000053C6  4A82                     tst.l      D2
  8455. 000053C8  8440                     or.w       D2, D0
  8456. 000053CA  2F02                     move.l     -[A7], D2
  8457. 000053CC  7006                     moveq.l    D0, 0x06
  8458. 000053CE  2F00                     move.l     -[A7], D0
  8459. 000053D0  4878 008A                push.l     0x8A
  8460. 000053D4  4EBA C1BC                jsr        [PC - 0x3E44 /* 00001592 */]
  8461. 000053D8  7014                     moveq.l    D0, 0x14
  8462. 000053DA  2F00                     move.l     -[A7], D0
  8463. 000053DC  4EBA AC7E                jsr        [PC - 0x5382 /* 0000005C */]
  8464. 000053E0  7000                     moveq.l    D0, 0x00
  8465. 000053E2  2D40 FFF0                move.l     [A6 - 0x10], D0
  8466. 000053E6  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8467. 000053EA  2049                     movea.l    A0, A1
  8468. 000053EC  A058                     syscall    InsTime
  8469. 000053EE  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8470. 000053F2  2049                     movea.l    A0, A1
  8471. 000053F4  203C FFFE 7960           move.l     D0, 0xFFFE7960
  8472. 000053FA  A05A                     syscall    PrimeTime
  8473. 000053FC  4FEF 0024                lea.l      A7, [A7 + 0x24]
  8474. 00005400  602E                     bra        +0x30 /* 00005430 */
  8475. label00005402:
  8476. 00005402  7007                     moveq.l    D0, 0x07
  8477. 00005404  2F00                     move.l     -[A7], D0
  8478. 00005406  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8479. 0000540C  7203                     moveq.l    D1, 0x03
  8480. 0000540E  2F01                     move.l     -[A7], D1
  8481. 00005410  2F07                     move.l     -[A7], D7
  8482. 00005412  4EBA B70A                jsr        [PC - 0x48F6 /* 00000B1E */]
  8483. 00005416  4A40                     tst.w      D0
  8484. 00005418  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8485. 0000541C  6712                     beq        +0x14 /* 00005430 */
  8486. 0000541E  4A6B 001E                tst.w      [A3 + 0x1E]
  8487. 00005422  6606                     bne        +0x8 /* 0000542A */
  8488. 00005424  526B 001C                addq.w     [A3 + 0x1C], 1
  8489. 00005428  600C                     bra        +0xE /* 00005436 */
  8490. label0000542A:
  8491. 0000542A  546B 001C                addq.w     [A3 + 0x1C], 2
  8492. 0000542E  6006                     bra        +0x8 /* 00005436 */
  8493. label00005430:
  8494. 00005430  4A6E FFEE                tst.w      [A6 - 0x12]
  8495. 00005434  6DCC                     blt        -0x32 /* 00005402 */
  8496. label00005436:
  8497. 00005436  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8498. 0000543A  2049                     movea.l    A0, A1
  8499. 0000543C  A059                     syscall    RmvTime
  8500. label0000543E:
  8501. 0000543E  4A46                     tst.w      D6
  8502. 00005440  6700 0A8A                beq        +0xA8C /* 00005ECC */
  8503. 00005444  7001                     moveq.l    D0, 0x01
  8504. 00005446  2F00                     move.l     -[A7], D0
  8505. 00005448  7205                     moveq.l    D1, 0x05
  8506. 0000544A  2F01                     move.l     -[A7], D1
  8507. 0000544C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8508. 00005452  7003                     moveq.l    D0, 0x03
  8509. 00005454  2F00                     move.l     -[A7], D0
  8510. 00005456  2F07                     move.l     -[A7], D7
  8511. 00005458  4EBA B316                jsr        [PC - 0x4CEA /* 00000770 */]
  8512. 0000545C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8513. 00005460  6000 0A6A                bra        +0xA6C /* 00005ECC */
  8514. 00005464  206E FFDC                movea.l    A0, [A6 - 0x24]
  8515. 00005468  7000                     moveq.l    D0, 0x00
  8516. 0000546A  1028 0033                move.b     D0, [A0 + 0x33]
  8517. 0000546E  4A80                     tst.l      D0
  8518. 00005470  3740 001C                move.w     [A3 + 0x1C], D0
  8519. 00005474  6000 0A56                bra        +0xA58 /* 00005ECC */
  8520. 00005478  206E FFDC                movea.l    A0, [A6 - 0x24]
  8521. 0000547C  7062                     moveq.l    D0, 0x62
  8522. 0000547E  B068 0146                cmp.w      D0, [A0 + 0x146]
  8523. 00005482  6606                     bne        +0x8 /* 0000548A */
  8524. 00005484  7AEE                     moveq.l    D5, 0xFFFFFFEE
  8525. 00005486  6000 0A44                bra        +0xA46 /* 00005ECC */
  8526. label0000548A:
  8527. 0000548A  206E FFDC                movea.l    A0, [A6 - 0x24]
  8528. 0000548E  7000                     moveq.l    D0, 0x00
  8529. 00005490  1028 003D                move.b     D0, [A0 + 0x3D]
  8530. 00005494  4A80                     tst.l      D0
  8531. 00005496  3740 001C                move.w     [A3 + 0x1C], D0
  8532. 0000549A  6000 0A30                bra        +0xA32 /* 00005ECC */
  8533. 0000549E  206E FFDC                movea.l    A0, [A6 - 0x24]
  8534. 000054A2  7062                     moveq.l    D0, 0x62
  8535. 000054A4  B068 0146                cmp.w      D0, [A0 + 0x146]
  8536. 000054A8  6616                     bne        +0x18 /* 000054C0 */
  8537. 000054AA  206E FFDC                movea.l    A0, [A6 - 0x24]
  8538. 000054AE  3768 001C 001E           move.w     [A3 + 0x1E], [A0 + 0x1C]
  8539. 000054B4  206E FFDC                movea.l    A0, [A6 - 0x24]
  8540. 000054B8  3768 001E 0022           move.w     [A3 + 0x22], [A0 + 0x1E]
  8541. 000054BE  6038                     bra        +0x3A /* 000054F8 */
  8542. label000054C0:
  8543. 000054C0  4878 03FF                push.l     0x3FF
  8544. 000054C4  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  8545. 000054CA  7002                     moveq.l    D0, 0x02
  8546. 000054CC  2F00                     move.l     -[A7], D0
  8547. 000054CE  2F07                     move.l     -[A7], D7
  8548. 000054D0  4EBA B5EA                jsr        [PC - 0x4A16 /* 00000ABC */]
  8549. 000054D4  D07C 000F                add.w      D0, 0xF
  8550. 000054D8  3740 001E                move.w     [A3 + 0x1E], D0
  8551. 000054DC  4878 03FF                push.l     0x3FF
  8552. 000054E0  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  8553. 000054E6  7002                     moveq.l    D0, 0x02
  8554. 000054E8  2F00                     move.l     -[A7], D0
  8555. 000054EA  2F07                     move.l     -[A7], D7
  8556. 000054EC  4EBA B5CE                jsr        [PC - 0x4A32 /* 00000ABC */]
  8557. 000054F0  3740 0022                move.w     [A3 + 0x22], D0
  8558. 000054F4  4FEF 0020                lea.l      A7, [A7 + 0x20]
  8559. label000054F8:
  8560. 000054F8  206E FFDC                movea.l    A0, [A6 - 0x24]
  8561. 000054FC  7062                     moveq.l    D0, 0x62
  8562. 000054FE  B068 0146                cmp.w      D0, [A0 + 0x146]
  8563. 00005502  6622                     bne        +0x24 /* 00005526 */
  8564. 00005504  206E FFDC                movea.l    A0, [A6 - 0x24]
  8565. 00005508  3028 0020                move.w     D0, [A0 + 0x20]
  8566. 0000550C  48C0                     ext.l      D0
  8567. 0000550E  D080                     add.l      D0, D0
  8568. 00005510  3740 001E                move.w     [A3 + 0x1E], D0
  8569. 00005514  206E FFDC                movea.l    A0, [A6 - 0x24]
  8570. 00005518  3028 0022                move.w     D0, [A0 + 0x22]
  8571. 0000551C  48C0                     ext.l      D0
  8572. 0000551E  D080                     add.l      D0, D0
  8573. 00005520  3740 0022                move.w     [A3 + 0x22], D0
  8574. 00005524  603C                     bra        +0x3E /* 00005562 */
  8575. label00005526:
  8576. 00005526  4878 03FF                push.l     0x3FF
  8577. 0000552A  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  8578. 00005530  7002                     moveq.l    D0, 0x02
  8579. 00005532  2F00                     move.l     -[A7], D0
  8580. 00005534  2F07                     move.l     -[A7], D7
  8581. 00005536  4EBA B584                jsr        [PC - 0x4A7C /* 00000ABC */]
  8582. 0000553A  48C0                     ext.l      D0
  8583. 0000553C  D080                     add.l      D0, D0
  8584. 0000553E  3740 001C                move.w     [A3 + 0x1C], D0
  8585. 00005542  4878 03FF                push.l     0x3FF
  8586. 00005546  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8587. 0000554C  7002                     moveq.l    D0, 0x02
  8588. 0000554E  2F00                     move.l     -[A7], D0
  8589. 00005550  2F07                     move.l     -[A7], D7
  8590. 00005552  4EBA B568                jsr        [PC - 0x4A98 /* 00000ABC */]
  8591. 00005556  48C0                     ext.l      D0
  8592. 00005558  D080                     add.l      D0, D0
  8593. 0000555A  3740 0020                move.w     [A3 + 0x20], D0
  8594. 0000555E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  8595. label00005562:
  8596. 00005562  7004                     moveq.l    D0, 0x04
  8597. 00005564  2F00                     move.l     -[A7], D0
  8598. 00005566  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8599. 0000556C  7203                     moveq.l    D1, 0x03
  8600. 0000556E  2F01                     move.l     -[A7], D1
  8601. 00005570  2F07                     move.l     -[A7], D7
  8602. 00005572  4EBA B5AA                jsr        [PC - 0x4A56 /* 00000B1E */]
  8603. 00005576  4A40                     tst.w      D0
  8604. 00005578  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8605. 0000557C  6706                     beq        +0x8 /* 00005584 */
  8606. 0000557E  426B 0028                clr.w      [A3 + 0x28]
  8607. 00005582  6028                     bra        +0x2A /* 000055AC */
  8608. label00005584:
  8609. 00005584  7003                     moveq.l    D0, 0x03
  8610. 00005586  2F00                     move.l     -[A7], D0
  8611. 00005588  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8612. 0000558E  2F00                     move.l     -[A7], D0
  8613. 00005590  2F07                     move.l     -[A7], D7
  8614. 00005592  4EBA B58A                jsr        [PC - 0x4A76 /* 00000B1E */]
  8615. 00005596  4A40                     tst.w      D0
  8616. 00005598  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8617. 0000559C  6708                     beq        +0xA /* 000055A6 */
  8618. 0000559E  377C 0001 0028           move.w     [A3 + 0x28], 0x1
  8619. 000055A4  6006                     bra        +0x8 /* 000055AC */
  8620. label000055A6:
  8621. 000055A6  377C 0002 0028           move.w     [A3 + 0x28], 0x2
  8622. label000055AC:
  8623. 000055AC  7009                     moveq.l    D0, 0x09
  8624. 000055AE  2F00                     move.l     -[A7], D0
  8625. 000055B0  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8626. 000055B6  7203                     moveq.l    D1, 0x03
  8627. 000055B8  2F01                     move.l     -[A7], D1
  8628. 000055BA  2F07                     move.l     -[A7], D7
  8629. 000055BC  4EBA B560                jsr        [PC - 0x4AA0 /* 00000B1E */]
  8630. 000055C0  4A40                     tst.w      D0
  8631. 000055C2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8632. 000055C6  6706                     beq        +0x8 /* 000055CE */
  8633. 000055C8  006B 0004 0028           ori.w      [A3 + 0x28], 0x4
  8634. label000055CE:
  8635. 000055CE  4878 01FF                push.l     0x1FF
  8636. 000055D2  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  8637. 000055D8  7002                     moveq.l    D0, 0x02
  8638. 000055DA  2F00                     move.l     -[A7], D0
  8639. 000055DC  2F07                     move.l     -[A7], D7
  8640. 000055DE  4EBA B4DC                jsr        [PC - 0x4B24 /* 00000ABC */]
  8641. 000055E2  323C 0100                move.w     D1, 0x100
  8642. 000055E6  C240                     and.w      D1, D0
  8643. 000055E8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8644. 000055EC  671C                     beq        +0x1E /* 0000560A */
  8645. 000055EE  302B 0022                move.w     D0, [A3 + 0x22]
  8646. 000055F2  906B 001E                sub.w      D0, [A3 + 0x1E]
  8647. 000055F6  3740 0024                move.w     [A3 + 0x24], D0
  8648. 000055FA  302B 0020                move.w     D0, [A3 + 0x20]
  8649. 000055FE  906B 001C                sub.w      D0, [A3 + 0x1C]
  8650. 00005602  3740 0026                move.w     [A3 + 0x26], D0
  8651. 00005606  6000 08C4                bra        +0x8C6 /* 00005ECC */
  8652. label0000560A:
  8653. 0000560A  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8654. 0000560E  4EBA B6AC                jsr        [PC - 0x4954 /* 00000CBC */]
  8655. 00005612  3740 0024                move.w     [A3 + 0x24], D0
  8656. 00005616  2F07                     move.l     -[A7], D7
  8657. 00005618  4EBA B5AE                jsr        [PC - 0x4A52 /* 00000BC8 */]
  8658. 0000561C  3740 0026                move.w     [A3 + 0x26], D0
  8659. 00005620  504F                     addq.w     A7, 8
  8660. 00005622  6000 08A8                bra        +0x8AA /* 00005ECC */
  8661. 00005626  206E FFDC                movea.l    A0, [A6 - 0x24]
  8662. 0000562A  7000                     moveq.l    D0, 0x00
  8663. 0000562C  1028 003A                move.b     D0, [A0 + 0x3A]
  8664. 00005630  4A80                     tst.l      D0
  8665. 00005632  7202                     moveq.l    D1, 0x02
  8666. 00005634  C200                     and.b      D1, D0
  8667. 00005636  6704                     beq        +0x6 /* 0000563C */
  8668. 00005638  7000                     moveq.l    D0, 0x00
  8669. 0000563A  6002                     bra        +0x4 /* 0000563E */
  8670. label0000563C:
  8671. 0000563C  7001                     moveq.l    D0, 0x01
  8672. label0000563E:
  8673. 0000563E  4880                     ext.w      D0
  8674. 00005640  3740 001E                move.w     [A3 + 0x1E], D0
  8675. 00005644  206E FFDC                movea.l    A0, [A6 - 0x24]
  8676. 00005648  7062                     moveq.l    D0, 0x62
  8677. 0000564A  B068 0146                cmp.w      D0, [A0 + 0x146]
  8678. 0000564E  660A                     bne        +0xC /* 0000565A */
  8679. 00005650  377C 0001 001C           move.w     [A3 + 0x1C], 0x1
  8680. 00005656  6000 0874                bra        +0x876 /* 00005ECC */
  8681. label0000565A:
  8682. 0000565A  426B 001C                clr.w      [A3 + 0x1C]
  8683. 0000565E  7014                     moveq.l    D0, 0x14
  8684. 00005660  2F00                     move.l     -[A7], D0
  8685. 00005662  4EBA A9F8                jsr        [PC - 0x5608 /* 0000005C */]
  8686. 00005666  7000                     moveq.l    D0, 0x00
  8687. 00005668  2D40 FFF0                move.l     [A6 - 0x10], D0
  8688. 0000566C  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8689. 00005670  2049                     movea.l    A0, A1
  8690. 00005672  A058                     syscall    InsTime
  8691. 00005674  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8692. 00005678  2049                     movea.l    A0, A1
  8693. 0000567A  203C FFFE 7960           move.l     D0, 0xFFFE7960
  8694. 00005680  A05A                     syscall    PrimeTime
  8695. 00005682  584F                     addq.w     A7, 4
  8696. 00005684  6022                     bra        +0x24 /* 000056A8 */
  8697. label00005686:
  8698. 00005686  7007                     moveq.l    D0, 0x07
  8699. 00005688  2F00                     move.l     -[A7], D0
  8700. 0000568A  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8701. 00005690  7203                     moveq.l    D1, 0x03
  8702. 00005692  2F01                     move.l     -[A7], D1
  8703. 00005694  2F07                     move.l     -[A7], D7
  8704. 00005696  4EBA B486                jsr        [PC - 0x4B7A /* 00000B1E */]
  8705. 0000569A  4A40                     tst.w      D0
  8706. 0000569C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8707. 000056A0  6706                     beq        +0x8 /* 000056A8 */
  8708. 000056A2  526B 001C                addq.w     [A3 + 0x1C], 1
  8709. 000056A6  6006                     bra        +0x8 /* 000056AE */
  8710. label000056A8:
  8711. 000056A8  4A6E FFEE                tst.w      [A6 - 0x12]
  8712. 000056AC  6DD8                     blt        -0x26 /* 00005686 */
  8713. label000056AE:
  8714. 000056AE  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8715. 000056B2  2049                     movea.l    A0, A1
  8716. 000056B4  A059                     syscall    RmvTime
  8717. 000056B6  6000 0814                bra        +0x816 /* 00005ECC */
  8718. 000056BA  4246                     clr.w      D6
  8719. 000056BC  4244                     clr.w      D4
  8720. 000056BE  7004                     moveq.l    D0, 0x04
  8721. 000056C0  2F00                     move.l     -[A7], D0
  8722. 000056C2  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8723. 000056C8  7203                     moveq.l    D1, 0x03
  8724. 000056CA  2F01                     move.l     -[A7], D1
  8725. 000056CC  2F07                     move.l     -[A7], D7
  8726. 000056CE  4EBA B44E                jsr        [PC - 0x4BB2 /* 00000B1E */]
  8727. 000056D2  4A40                     tst.w      D0
  8728. 000056D4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8729. 000056D8  660E                     bne        +0x10 /* 000056E8 */
  8730. 000056DA  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8731. 000056DE  4EBA B5DC                jsr        [PC - 0x4A24 /* 00000CBC */]
  8732. 000056E2  3C00                     move.w     D6, D0
  8733. 000056E4  5346                     subq.w     D6, 1
  8734. 000056E6  584F                     addq.w     A7, 4
  8735. label000056E8:
  8736. 000056E8  7003                     moveq.l    D0, 0x03
  8737. 000056EA  2F00                     move.l     -[A7], D0
  8738. 000056EC  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8739. 000056F2  2F00                     move.l     -[A7], D0
  8740. 000056F4  2F07                     move.l     -[A7], D7
  8741. 000056F6  4EBA B426                jsr        [PC - 0x4BDA /* 00000B1E */]
  8742. 000056FA  4A40                     tst.w      D0
  8743. 000056FC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8744. 00005700  660C                     bne        +0xE /* 0000570E */
  8745. 00005702  2F07                     move.l     -[A7], D7
  8746. 00005704  4EBA B4C2                jsr        [PC - 0x4B3E /* 00000BC8 */]
  8747. 00005708  3800                     move.w     D4, D0
  8748. 0000570A  5344                     subq.w     D4, 1
  8749. 0000570C  584F                     addq.w     A7, 4
  8750. label0000570E:
  8751. 0000570E  4878 03FF                push.l     0x3FF
  8752. 00005712  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  8753. 00005718  7003                     moveq.l    D0, 0x03
  8754. 0000571A  2F00                     move.l     -[A7], D0
  8755. 0000571C  2F07                     move.l     -[A7], D7
  8756. 0000571E  4EBA B39C                jsr        [PC - 0x4C64 /* 00000ABC */]
  8757. 00005722  9046                     sub.w      D0, D6
  8758. 00005724  3740 001E                move.w     [A3 + 0x1E], D0
  8759. 00005728  4878 01FF                push.l     0x1FF
  8760. 0000572C  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  8761. 00005732  7003                     moveq.l    D0, 0x03
  8762. 00005734  2F00                     move.l     -[A7], D0
  8763. 00005736  2F07                     move.l     -[A7], D7
  8764. 00005738  4EBA B382                jsr        [PC - 0x4C7E /* 00000ABC */]
  8765. 0000573C  9044                     sub.w      D0, D4
  8766. 0000573E  3740 001C                move.w     [A3 + 0x1C], D0
  8767. 00005742  4FEF 0020                lea.l      A7, [A7 + 0x20]
  8768. 00005746  6000 0784                bra        +0x786 /* 00005ECC */
  8769. 0000574A  4878 00FF                push.l     0xFF
  8770. 0000574E  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  8771. 00005754  7003                     moveq.l    D0, 0x03
  8772. 00005756  2F00                     move.l     -[A7], D0
  8773. 00005758  2F07                     move.l     -[A7], D7
  8774. 0000575A  4EBA B360                jsr        [PC - 0x4CA0 /* 00000ABC */]
  8775. 0000575E  3740 001C                move.w     [A3 + 0x1C], D0
  8776. 00005762  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8777. 00005766  6000 0764                bra        +0x766 /* 00005ECC */
  8778. 0000576A  7004                     moveq.l    D0, 0x04
  8779. 0000576C  2F00                     move.l     -[A7], D0
  8780. 0000576E  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8781. 00005774  7203                     moveq.l    D1, 0x03
  8782. 00005776  2F01                     move.l     -[A7], D1
  8783. 00005778  2F07                     move.l     -[A7], D7
  8784. 0000577A  4EBA B3A2                jsr        [PC - 0x4C5E /* 00000B1E */]
  8785. 0000577E  7201                     moveq.l    D1, 0x01
  8786. 00005780  B340                     xor.w      D0, D1
  8787. 00005782  3740 001C                move.w     [A3 + 0x1C], D0
  8788. 00005786  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8789. 0000578A  6000 0740                bra        +0x742 /* 00005ECC */
  8790. 0000578E  7003                     moveq.l    D0, 0x03
  8791. 00005790  2F00                     move.l     -[A7], D0
  8792. 00005792  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8793. 00005798  2F00                     move.l     -[A7], D0
  8794. 0000579A  2F07                     move.l     -[A7], D7
  8795. 0000579C  4EBA B380                jsr        [PC - 0x4C80 /* 00000B1E */]
  8796. 000057A0  7201                     moveq.l    D1, 0x01
  8797. 000057A2  B340                     xor.w      D0, D1
  8798. 000057A4  3740 001C                move.w     [A3 + 0x1C], D0
  8799. 000057A8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8800. 000057AC  6000 071E                bra        +0x720 /* 00005ECC */
  8801. 000057B0  7002                     moveq.l    D0, 0x02
  8802. 000057B2  2F00                     move.l     -[A7], D0
  8803. 000057B4  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8804. 000057BA  7203                     moveq.l    D1, 0x03
  8805. 000057BC  2F01                     move.l     -[A7], D1
  8806. 000057BE  2F07                     move.l     -[A7], D7
  8807. 000057C0  4EBA B35C                jsr        [PC - 0x4CA4 /* 00000B1E */]
  8808. 000057C4  7201                     moveq.l    D1, 0x01
  8809. 000057C6  B340                     xor.w      D0, D1
  8810. 000057C8  3740 001C                move.w     [A3 + 0x1C], D0
  8811. 000057CC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8812. 000057D0  6000 06FA                bra        +0x6FC /* 00005ECC */
  8813. 000057D4  7001                     moveq.l    D0, 0x01
  8814. 000057D6  2F00                     move.l     -[A7], D0
  8815. 000057D8  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8816. 000057DE  7203                     moveq.l    D1, 0x03
  8817. 000057E0  2F01                     move.l     -[A7], D1
  8818. 000057E2  2F07                     move.l     -[A7], D7
  8819. 000057E4  4EBA B338                jsr        [PC - 0x4CC8 /* 00000B1E */]
  8820. 000057E8  7201                     moveq.l    D1, 0x01
  8821. 000057EA  B340                     xor.w      D0, D1
  8822. 000057EC  3740 001C                move.w     [A3 + 0x1C], D0
  8823. 000057F0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8824. 000057F4  6000 06D6                bra        +0x6D8 /* 00005ECC */
  8825. 000057F8  7000                     moveq.l    D0, 0x00
  8826. 000057FA  2F00                     move.l     -[A7], D0
  8827. 000057FC  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8828. 00005802  7203                     moveq.l    D1, 0x03
  8829. 00005804  2F01                     move.l     -[A7], D1
  8830. 00005806  2F07                     move.l     -[A7], D7
  8831. 00005808  4EBA B314                jsr        [PC - 0x4CEC /* 00000B1E */]
  8832. 0000580C  7201                     moveq.l    D1, 0x01
  8833. 0000580E  B340                     xor.w      D0, D1
  8834. 00005810  3740 001C                move.w     [A3 + 0x1C], D0
  8835. 00005814  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8836. 00005818  6000 06B2                bra        +0x6B4 /* 00005ECC */
  8837. 0000581C  7001                     moveq.l    D0, 0x01
  8838. 0000581E  2F00                     move.l     -[A7], D0
  8839. 00005820  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8840. 00005826  7203                     moveq.l    D1, 0x03
  8841. 00005828  2F01                     move.l     -[A7], D1
  8842. 0000582A  2F07                     move.l     -[A7], D7
  8843. 0000582C  4EBA B2F0                jsr        [PC - 0x4D10 /* 00000B1E */]
  8844. 00005830  3740 001C                move.w     [A3 + 0x1C], D0
  8845. 00005834  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8846. 00005838  6000 0692                bra        +0x694 /* 00005ECC */
  8847. 0000583C  7005                     moveq.l    D0, 0x05
  8848. 0000583E  2F00                     move.l     -[A7], D0
  8849. 00005840  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8850. 00005846  7203                     moveq.l    D1, 0x03
  8851. 00005848  2F01                     move.l     -[A7], D1
  8852. 0000584A  2F07                     move.l     -[A7], D7
  8853. 0000584C  4EBA B2D0                jsr        [PC - 0x4D30 /* 00000B1E */]
  8854. 00005850  2D40 FFD4                move.l     [A6 - 0x2C], D0
  8855. 00005854  7002                     moveq.l    D0, 0x02
  8856. 00005856  2F00                     move.l     -[A7], D0
  8857. 00005858  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8858. 0000585E  7203                     moveq.l    D1, 0x03
  8859. 00005860  2F01                     move.l     -[A7], D1
  8860. 00005862  2F07                     move.l     -[A7], D7
  8861. 00005864  4EBA B2B8                jsr        [PC - 0x4D48 /* 00000B1E */]
  8862. 00005868  222E FFD4                move.l     D1, [A6 - 0x2C]
  8863. 0000586C  C041                     and.w      D0, D1
  8864. 0000586E  3740 001C                move.w     [A3 + 0x1C], D0
  8865. 00005872  4FEF 0020                lea.l      A7, [A7 + 0x20]
  8866. 00005876  6000 0654                bra        +0x656 /* 00005ECC */
  8867. 0000587A  7000                     moveq.l    D0, 0x00
  8868. 0000587C  2F00                     move.l     -[A7], D0
  8869. 0000587E  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8870. 00005884  7203                     moveq.l    D1, 0x03
  8871. 00005886  2F01                     move.l     -[A7], D1
  8872. 00005888  2F07                     move.l     -[A7], D7
  8873. 0000588A  4EBA B292                jsr        [PC - 0x4D6E /* 00000B1E */]
  8874. 0000588E  48C0                     ext.l      D0
  8875. 00005890  E388                     lsl        D0, 1
  8876. 00005892  3740 001C                move.w     [A3 + 0x1C], D0
  8877. 00005896  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8878. 0000589A  6700 0630                beq        +0x632 /* 00005ECC */
  8879. 0000589E  7002                     moveq.l    D0, 0x02
  8880. 000058A0  2F00                     move.l     -[A7], D0
  8881. 000058A2  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8882. 000058A8  7203                     moveq.l    D1, 0x03
  8883. 000058AA  2F01                     move.l     -[A7], D1
  8884. 000058AC  2F07                     move.l     -[A7], D7
  8885. 000058AE  4EBA B26E                jsr        [PC - 0x4D92 /* 00000B1E */]
  8886. 000058B2  4A40                     tst.w      D0
  8887. 000058B4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8888. 000058B8  6606                     bne        +0x8 /* 000058C0 */
  8889. 000058BA  377C 0001 001C           move.w     [A3 + 0x1C], 0x1
  8890. label000058C0:
  8891. 000058C0  4A6B 001E                tst.w      [A3 + 0x1E]
  8892. 000058C4  6700 0606                beq        +0x608 /* 00005ECC */
  8893. 000058C8  7001                     moveq.l    D0, 0x01
  8894. 000058CA  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  8895. 000058CE  671E                     beq        +0x20 /* 000058EE */
  8896. 000058D0  7005                     moveq.l    D0, 0x05
  8897. 000058D2  2F00                     move.l     -[A7], D0
  8898. 000058D4  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8899. 000058DA  7203                     moveq.l    D1, 0x03
  8900. 000058DC  2F01                     move.l     -[A7], D1
  8901. 000058DE  2F07                     move.l     -[A7], D7
  8902. 000058E0  4EBA B23C                jsr        [PC - 0x4DC4 /* 00000B1E */]
  8903. 000058E4  4A40                     tst.w      D0
  8904. 000058E6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8905. 000058EA  6600 05E0                bne        +0x5E2 /* 00005ECC */
  8906. label000058EE:
  8907. 000058EE  7000                     moveq.l    D0, 0x00
  8908. 000058F0  2D40 FFF0                move.l     [A6 - 0x10], D0
  8909. 000058F4  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8910. 000058F8  2049                     movea.l    A0, A1
  8911. 000058FA  A058                     syscall    InsTime
  8912. 000058FC  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8913. 00005900  2049                     movea.l    A0, A1
  8914. 00005902  203C FFFE A070           move.l     D0, 0xFFFEA070
  8915. 00005908  A05A                     syscall    PrimeTime
  8916. 0000590A  6022                     bra        +0x24 /* 0000592E */
  8917. label0000590C:
  8918. 0000590C  7000                     moveq.l    D0, 0x00
  8919. 0000590E  2F00                     move.l     -[A7], D0
  8920. 00005910  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8921. 00005916  7203                     moveq.l    D1, 0x03
  8922. 00005918  2F01                     move.l     -[A7], D1
  8923. 0000591A  2F07                     move.l     -[A7], D7
  8924. 0000591C  4EBA B200                jsr        [PC - 0x4E00 /* 00000B1E */]
  8925. 00005920  4A40                     tst.w      D0
  8926. 00005922  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8927. 00005926  6606                     bne        +0x8 /* 0000592E */
  8928. 00005928  426B 001C                clr.w      [A3 + 0x1C]
  8929. 0000592C  6006                     bra        +0x8 /* 00005934 */
  8930. label0000592E:
  8931. 0000592E  4A6E FFEE                tst.w      [A6 - 0x12]
  8932. 00005932  6DD8                     blt        -0x26 /* 0000590C */
  8933. label00005934:
  8934. 00005934  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8935. 00005938  2049                     movea.l    A0, A1
  8936. 0000593A  A059                     syscall    RmvTime
  8937. 0000593C  4AAE FFF4                tst.l      [A6 - 0xC]
  8938. 00005940  6600 058A                bne        +0x58C /* 00005ECC */
  8939. 00005944  7001                     moveq.l    D0, 0x01
  8940. 00005946  2F00                     move.l     -[A7], D0
  8941. 00005948  7208                     moveq.l    D1, 0x08
  8942. 0000594A  2F01                     move.l     -[A7], D1
  8943. 0000594C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8944. 00005952  7003                     moveq.l    D0, 0x03
  8945. 00005954  2F00                     move.l     -[A7], D0
  8946. 00005956  2F07                     move.l     -[A7], D7
  8947. 00005958  4EBA AE16                jsr        [PC - 0x51EA /* 00000770 */]
  8948. 0000595C  3A3C E0AE                move.w     D5, 0xE0AE
  8949. 00005960  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8950. 00005964  6000 0566                bra        +0x568 /* 00005ECC */
  8951. 00005968  206E FFDC                movea.l    A0, [A6 - 0x24]
  8952. 0000596C  3028 0016                move.w     D0, [A0 + 0x16]
  8953. 00005970  48C0                     ext.l      D0
  8954. 00005972  D080                     add.l      D0, D0
  8955. 00005974  3740 001C                move.w     [A3 + 0x1C], D0
  8956. 00005978  206E FFDC                movea.l    A0, [A6 - 0x24]
  8957. 0000597C  3028 0018                move.w     D0, [A0 + 0x18]
  8958. 00005980  48C0                     ext.l      D0
  8959. 00005982  D080                     add.l      D0, D0
  8960. 00005984  3740 0020                move.w     [A3 + 0x20], D0
  8961. 00005988  206E FFDC                movea.l    A0, [A6 - 0x24]
  8962. 0000598C  3768 0010 001E           move.w     [A3 + 0x1E], [A0 + 0x10]
  8963. 00005992  206E FFDC                movea.l    A0, [A6 - 0x24]
  8964. 00005996  3768 0012 0022           move.w     [A3 + 0x22], [A0 + 0x12]
  8965. 0000599C  6000 052E                bra        +0x530 /* 00005ECC */
  8966. 000059A0  4878 01FF                push.l     0x1FF
  8967. 000059A4  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  8968. 000059AA  7003                     moveq.l    D0, 0x03
  8969. 000059AC  2F00                     move.l     -[A7], D0
  8970. 000059AE  2F07                     move.l     -[A7], D7
  8971. 000059B0  4EBA B10A                jsr        [PC - 0x4EF6 /* 00000ABC */]
  8972. 000059B4  3740 001C                move.w     [A3 + 0x1C], D0
  8973. 000059B8  4878 01FF                push.l     0x1FF
  8974. 000059BC  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  8975. 000059C2  7003                     moveq.l    D0, 0x03
  8976. 000059C4  2F00                     move.l     -[A7], D0
  8977. 000059C6  2F07                     move.l     -[A7], D7
  8978. 000059C8  4EBA B0F2                jsr        [PC - 0x4F0E /* 00000ABC */]
  8979. 000059CC  3740 0020                move.w     [A3 + 0x20], D0
  8980. 000059D0  4878 03FF                push.l     0x3FF
  8981. 000059D4  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  8982. 000059DA  7003                     moveq.l    D0, 0x03
  8983. 000059DC  2F00                     move.l     -[A7], D0
  8984. 000059DE  2F07                     move.l     -[A7], D7
  8985. 000059E0  4EBA B0DA                jsr        [PC - 0x4F26 /* 00000ABC */]
  8986. 000059E4  3740 001E                move.w     [A3 + 0x1E], D0
  8987. 000059E8  4878 03FF                push.l     0x3FF
  8988. 000059EC  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  8989. 000059F2  7003                     moveq.l    D0, 0x03
  8990. 000059F4  2F00                     move.l     -[A7], D0
  8991. 000059F6  2F07                     move.l     -[A7], D7
  8992. 000059F8  4EBA B0C2                jsr        [PC - 0x4F3E /* 00000ABC */]
  8993. 000059FC  3740 0022                move.w     [A3 + 0x22], D0
  8994. 00005A00  7004                     moveq.l    D0, 0x04
  8995. 00005A02  2F00                     move.l     -[A7], D0
  8996. 00005A04  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8997. 00005A0A  7203                     moveq.l    D1, 0x03
  8998. 00005A0C  2F01                     move.l     -[A7], D1
  8999. 00005A0E  2F07                     move.l     -[A7], D7
  9000. 00005A10  4EBA B10C                jsr        [PC - 0x4EF4 /* 00000B1E */]
  9001. 00005A14  4A40                     tst.w      D0
  9002. 00005A16  4FEF 0050                lea.l      A7, [A7 + 0x50]
  9003. 00005A1A  6614                     bne        +0x16 /* 00005A30 */
  9004. 00005A1C  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  9005. 00005A20  4EBA B29A                jsr        [PC - 0x4D66 /* 00000CBC */]
  9006. 00005A24  916B 001E                sub.w      [A3 + 0x1E], D0
  9007. 00005A28  526B 0022                addq.w     [A3 + 0x22], 1
  9008. 00005A2C  584F                     addq.w     A7, 4
  9009. 00005A2E  600E                     bra        +0x10 /* 00005A3E */
  9010. label00005A30:
  9011. 00005A30  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  9012. 00005A34  4EBA B286                jsr        [PC - 0x4D7A /* 00000CBC */]
  9013. 00005A38  D16B 0022                add.w      [A3 + 0x22], D0
  9014. 00005A3C  584F                     addq.w     A7, 4
  9015. label00005A3E:
  9016. 00005A3E  7003                     moveq.l    D0, 0x03
  9017. 00005A40  2F00                     move.l     -[A7], D0
  9018. 00005A42  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  9019. 00005A48  2F00                     move.l     -[A7], D0
  9020. 00005A4A  2F07                     move.l     -[A7], D7
  9021. 00005A4C  4EBA B0D0                jsr        [PC - 0x4F30 /* 00000B1E */]
  9022. 00005A50  4A40                     tst.w      D0
  9023. 00005A52  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9024. 00005A56  6614                     bne        +0x16 /* 00005A6C */
  9025. 00005A58  2F07                     move.l     -[A7], D7
  9026. 00005A5A  4EBA B16C                jsr        [PC - 0x4E94 /* 00000BC8 */]
  9027. 00005A5E  916B 001C                sub.w      [A3 + 0x1C], D0
  9028. 00005A62  526B 0020                addq.w     [A3 + 0x20], 1
  9029. 00005A66  584F                     addq.w     A7, 4
  9030. 00005A68  6000 0462                bra        +0x464 /* 00005ECC */
  9031. label00005A6C:
  9032. 00005A6C  2F07                     move.l     -[A7], D7
  9033. 00005A6E  4EBA B158                jsr        [PC - 0x4EA8 /* 00000BC8 */]
  9034. 00005A72  D16B 0020                add.w      [A3 + 0x20], D0
  9035. 00005A76  584F                     addq.w     A7, 4
  9036. 00005A78  6000 0452                bra        +0x454 /* 00005ECC */
  9037. 00005A7C  302B 001C                move.w     D0, [A3 + 0x1C]
  9038. 00005A80  E040                     asr        D0.w, 8
  9039. 00005A82  0C40 0052                cmpi.w     D0, 0x52 /* 'R' */
  9040. 00005A86  662A                     bne        +0x2C /* 00005AB2 */
  9041. 00005A88  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  9042. 00005A8C  486B 001E                pea.l      [A3 + 0x1E]
  9043. 00005A90  303C 00FF                move.w     D0, 0xFF
  9044. 00005A94  C06B 001C                and.w      D0, [A3 + 0x1C]
  9045. 00005A98  7200                     moveq.l    D1, 0x00
  9046. 00005A9A  3200                     move.w     D1, D0
  9047. 00005A9C  4A81                     tst.l      D1
  9048. 00005A9E  2F01                     move.l     -[A7], D1
  9049. 00005AA0  4878 00A0                push.l     0xA0
  9050. 00005AA4  4EBA CA18                jsr        [PC - 0x35E8 /* 000024BE */]
  9051. 00005AA8  3A00                     move.w     D5, D0
  9052. 00005AAA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9053. 00005AAE  6000 041C                bra        +0x41E /* 00005ECC */
  9054. label00005AB2:
  9055. 00005AB2  703F                     moveq.l    D0, 0x3F
  9056. 00005AB4  2F00                     move.l     -[A7], D0
  9057. 00005AB6  7200                     moveq.l    D1, 0x00
  9058. 00005AB8  2F01                     move.l     -[A7], D1
  9059. 00005ABA  342B 001C                move.w     D2, [A3 + 0x1C]
  9060. 00005ABE  48C2                     ext.l      D2
  9061. 00005AC0  2F02                     move.l     -[A7], D2
  9062. 00005AC2  4EBA AC34                jsr        [PC - 0x53CC /* 000006F8 */]
  9063. 00005AC6  4A40                     tst.w      D0
  9064. 00005AC8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9065. 00005ACC  6728                     beq        +0x2A /* 00005AF6 */
  9066. 00005ACE  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  9067. 00005AD2  486B 001E                pea.l      [A3 + 0x1E]
  9068. 00005AD6  302B 001C                move.w     D0, [A3 + 0x1C]
  9069. 00005ADA  48C0                     ext.l      D0
  9070. 00005ADC  D0BC 0000 00C0           add.l      D0, 0xC0
  9071. 00005AE2  2F00                     move.l     -[A7], D0
  9072. 00005AE4  4878 00A0                push.l     0xA0
  9073. 00005AE8  4EBA C9D4                jsr        [PC - 0x362C /* 000024BE */]
  9074. 00005AEC  3A00                     move.w     D5, D0
  9075. 00005AEE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9076. 00005AF2  6000 03D8                bra        +0x3DA /* 00005ECC */
  9077. label00005AF6:
  9078. 00005AF6  3A3C E0AC                move.w     D5, 0xE0AC
  9079. 00005AFA  6000 03D0                bra        +0x3D2 /* 00005ECC */
  9080. 00005AFE  206E FFDC                movea.l    A0, [A6 - 0x24]
  9081. 00005B02  7062                     moveq.l    D0, 0x62
  9082. 00005B04  B068 0146                cmp.w      D0, [A0 + 0x146]
  9083. 00005B08  6622                     bne        +0x24 /* 00005B2C */
  9084. 00005B0A  206E FFDC                movea.l    A0, [A6 - 0x24]
  9085. 00005B0E  7000                     moveq.l    D0, 0x00
  9086. 00005B10  1028 0034                move.b     D0, [A0 + 0x34]
  9087. 00005B14  4A80                     tst.l      D0
  9088. 00005B16  7220                     moveq.l    D1, 0x20
  9089. 00005B18  C200                     and.b      D1, D0
  9090. 00005B1A  6704                     beq        +0x6 /* 00005B20 */
  9091. 00005B1C  7001                     moveq.l    D0, 0x01
  9092. 00005B1E  6002                     bra        +0x4 /* 00005B22 */
  9093. label00005B20:
  9094. 00005B20  7000                     moveq.l    D0, 0x00
  9095. label00005B22:
  9096. 00005B22  4880                     ext.w      D0
  9097. 00005B24  3740 001C                move.w     [A3 + 0x1C], D0
  9098. 00005B28  6000 03A2                bra        +0x3A4 /* 00005ECC */
  9099. label00005B2C:
  9100. 00005B2C  206E FFDC                movea.l    A0, [A6 - 0x24]
  9101. 00005B30  7000                     moveq.l    D0, 0x00
  9102. 00005B32  1028 0039                move.b     D0, [A0 + 0x39]
  9103. 00005B36  4A80                     tst.l      D0
  9104. 00005B38  323C 0080                move.w     D1, 0x80
  9105. 00005B3C  C200                     and.b      D1, D0
  9106. 00005B3E  6704                     beq        +0x6 /* 00005B44 */
  9107. 00005B40  7001                     moveq.l    D0, 0x01
  9108. 00005B42  6002                     bra        +0x4 /* 00005B46 */
  9109. label00005B44:
  9110. 00005B44  7000                     moveq.l    D0, 0x00
  9111. label00005B46:
  9112. 00005B46  4880                     ext.w      D0
  9113. 00005B48  3740 001C                move.w     [A3 + 0x1C], D0
  9114. 00005B4C  6000 037E                bra        +0x380 /* 00005ECC */
  9115. 00005B50  7005                     moveq.l    D0, 0x05
  9116. 00005B52  2F00                     move.l     -[A7], D0
  9117. 00005B54  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  9118. 00005B5A  7203                     moveq.l    D1, 0x03
  9119. 00005B5C  2F01                     move.l     -[A7], D1
  9120. 00005B5E  2F07                     move.l     -[A7], D7
  9121. 00005B60  4EBA AFBC                jsr        [PC - 0x5044 /* 00000B1E */]
  9122. 00005B64  4A40                     tst.w      D0
  9123. 00005B66  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9124. 00005B6A  6704                     beq        +0x6 /* 00005B70 */
  9125. 00005B6C  7000                     moveq.l    D0, 0x00
  9126. 00005B6E  6002                     bra        +0x4 /* 00005B72 */
  9127. label00005B70:
  9128. 00005B70  7001                     moveq.l    D0, 0x01
  9129. label00005B72:
  9130. 00005B72  4880                     ext.w      D0
  9131. 00005B74  3740 001C                move.w     [A3 + 0x1C], D0
  9132. 00005B78  4878 01FF                push.l     0x1FF
  9133. 00005B7C  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  9134. 00005B82  7002                     moveq.l    D0, 0x02
  9135. 00005B84  2F00                     move.l     -[A7], D0
  9136. 00005B86  2F07                     move.l     -[A7], D7
  9137. 00005B88  4EBA AF32                jsr        [PC - 0x50CE /* 00000ABC */]
  9138. 00005B8C  323C 0080                move.w     D1, 0x80
  9139. 00005B90  C240                     and.w      D1, D0
  9140. 00005B92  7000                     moveq.l    D0, 0x00
  9141. 00005B94  3001                     move.w     D0, D1
  9142. 00005B96  4A80                     tst.l      D0
  9143. 00005B98  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9144. 00005B9C  6600 032E                bne        +0x330 /* 00005ECC */
  9145. 00005BA0  0A6B 0001 001C           xori.w     [A3 + 0x1C], 0x1
  9146. 00005BA6  6000 0324                bra        +0x326 /* 00005ECC */
  9147. 00005BAA  7002                     moveq.l    D0, 0x02
  9148. 00005BAC  2F00                     move.l     -[A7], D0
  9149. 00005BAE  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  9150. 00005BB4  7203                     moveq.l    D1, 0x03
  9151. 00005BB6  2F01                     move.l     -[A7], D1
  9152. 00005BB8  2F07                     move.l     -[A7], D7
  9153. 00005BBA  4EBA AF62                jsr        [PC - 0x509E /* 00000B1E */]
  9154. 00005BBE  3740 001C                move.w     [A3 + 0x1C], D0
  9155. 00005BC2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9156. 00005BC6  6000 0304                bra        +0x306 /* 00005ECC */
  9157. 00005BCA  7003                     moveq.l    D0, 0x03
  9158. 00005BCC  2F00                     move.l     -[A7], D0
  9159. 00005BCE  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  9160. 00005BD4  2F00                     move.l     -[A7], D0
  9161. 00005BD6  2F07                     move.l     -[A7], D7
  9162. 00005BD8  4EBA AF44                jsr        [PC - 0x50BC /* 00000B1E */]
  9163. 00005BDC  3740 001C                move.w     [A3 + 0x1C], D0
  9164. 00005BE0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9165. 00005BE4  6000 02E6                bra        +0x2E8 /* 00005ECC */
  9166. 00005BE8  206E FFDC                movea.l    A0, [A6 - 0x24]
  9167. 00005BEC  3768 0026 001C           move.w     [A3 + 0x1C], [A0 + 0x26]
  9168. 00005BF2  6000 02D8                bra        +0x2DA /* 00005ECC */
  9169. 00005BF6  206E FFD8                movea.l    A0, [A6 - 0x28]
  9170. 00005BFA  3750 001C                move.w     [A3 + 0x1C], [A0]
  9171. 00005BFE  206E FFD8                movea.l    A0, [A6 - 0x28]
  9172. 00005C02  3028 0002                move.w     D0, [A0 + 0x2]
  9173. 00005C06  5240                     addq.w     D0, 1
  9174. 00005C08  3740 001E                move.w     [A3 + 0x1E], D0
  9175. 00005C0C  6000 02BE                bra        +0x2C0 /* 00005ECC */
  9176. 00005C10  4878 00FF                push.l     0xFF
  9177. 00005C14  7000                     moveq.l    D0, 0x00
  9178. 00005C16  2F00                     move.l     -[A7], D0
  9179. 00005C18  322B 001C                move.w     D1, [A3 + 0x1C]
  9180. 00005C1C  48C1                     ext.l      D1
  9181. 00005C1E  2F01                     move.l     -[A7], D1
  9182. 00005C20  4EBA AAD6                jsr        [PC - 0x552A /* 000006F8 */]
  9183. 00005C24  4A40                     tst.w      D0
  9184. 00005C26  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9185. 00005C2A  6718                     beq        +0x1A /* 00005C44 */
  9186. 00005C2C  206E FFDC                movea.l    A0, [A6 - 0x24]
  9187. 00005C30  302B 001C                move.w     D0, [A3 + 0x1C]
  9188. 00005C34  7200                     moveq.l    D1, 0x00
  9189. 00005C36  1230 002C                move.b     D1, [A0 + D0.w + 0x2C]
  9190. 00005C3A  4A81                     tst.l      D1
  9191. 00005C3C  3741 001E                move.w     [A3 + 0x1E], D1
  9192. 00005C40  6000 028A                bra        +0x28C /* 00005ECC */
  9193. label00005C44:
  9194. 00005C44  3A3C E096                move.w     D5, 0xE096
  9195. 00005C48  6000 0282                bra        +0x284 /* 00005ECC */
  9196. 00005C4C  1D7C 0001 FFE9           move.b     [A6 - 0x17], 0x1
  9197. 00005C52  43EE FFE9                lea.l      A1, [A6 - 0x17]
  9198. 00005C56  2049                     movea.l    A0, A1
  9199. 00005C58  1010                     move.b     D0, [A0]
  9200. 00005C5A  A05D                     syscall    SwapMMUMode
  9201. 00005C5C  1080                     move.b     [A0], D0
  9202. 00005C5E  7C00                     moveq.l    D6, 0x00
  9203. 00005C60  1C14                     move.b     D6, [A4]
  9204. 00005C62  4A86                     tst.l      D6
  9205. 00005C64  4214                     clr.b      [A4]
  9206. 00005C66  206E FFE4                movea.l    A0, [A6 - 0x1C]
  9207. 00005C6A  7000                     moveq.l    D0, 0x00
  9208. 00005C6C  1010                     move.b     D0, [A0]
  9209. 00005C6E  4A80                     tst.l      D0
  9210. 00005C70  7204                     moveq.l    D1, 0x04
  9211. 00005C72  C200                     and.b      D1, D0
  9212. 00005C74  6704                     beq        +0x6 /* 00005C7A */
  9213. 00005C76  7001                     moveq.l    D0, 0x01
  9214. 00005C78  6002                     bra        +0x4 /* 00005C7C */
  9215. label00005C7A:
  9216. 00005C7A  7000                     moveq.l    D0, 0x00
  9217. label00005C7C:
  9218. 00005C7C  4880                     ext.w      D0
  9219. 00005C7E  3800                     move.w     D4, D0
  9220. 00005C80  1886                     move.b     [A4], D6
  9221. 00005C82  43EE FFE9                lea.l      A1, [A6 - 0x17]
  9222. 00005C86  2049                     movea.l    A0, A1
  9223. 00005C88  1010                     move.b     D0, [A0]
  9224. 00005C8A  A05D                     syscall    SwapMMUMode
  9225. 00005C8C  1080                     move.b     [A0], D0
  9226. 00005C8E  3744 001C                move.w     [A3 + 0x1C], D4
  9227. 00005C92  6000 0238                bra        +0x23A /* 00005ECC */
  9228. 00005C96  7006                     moveq.l    D0, 0x06
  9229. 00005C98  2F00                     move.l     -[A7], D0
  9230. 00005C9A  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  9231. 00005CA0  7203                     moveq.l    D1, 0x03
  9232. 00005CA2  2F01                     move.l     -[A7], D1
  9233. 00005CA4  2F07                     move.l     -[A7], D7
  9234. 00005CA6  4EBA AE76                jsr        [PC - 0x518A /* 00000B1E */]
  9235. 00005CAA  4A40                     tst.w      D0
  9236. 00005CAC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9237. 00005CB0  6704                     beq        +0x6 /* 00005CB6 */
  9238. 00005CB2  7000                     moveq.l    D0, 0x00
  9239. 00005CB4  6002                     bra        +0x4 /* 00005CB8 */
  9240. label00005CB6:
  9241. 00005CB6  7001                     moveq.l    D0, 0x01
  9242. label00005CB8:
  9243. 00005CB8  4880                     ext.w      D0
  9244. 00005CBA  3740 001C                move.w     [A3 + 0x1C], D0
  9245. 00005CBE  6000 020C                bra        +0x20E /* 00005ECC */
  9246. 00005CC2  4AAB 001C                tst.l      [A3 + 0x1C]
  9247. 00005CC6  6726                     beq        +0x28 /* 00005CEE */
  9248. 00005CC8  598F                     subq.l     A7, 4
  9249. 00005CCA  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  9250. 00005CCE  4EBA 0244                jsr        [PC + 0x244 /* 00005F14 */]
  9251. 00005CD2  285F                     movea.l    A4, [A7]+
  9252. 00005CD4  7C01                     moveq.l    D6, 0x01
  9253. 00005CD6  363C 0101                move.w     D3, 0x101
  9254. label00005CDA:
  9255. 00005CDA  206E FFDC                movea.l    A0, [A6 - 0x24]
  9256. 00005CDE  18F0 6045                move.b     [A4]+, [A0 + D6.w + 0x45]
  9257. 00005CE2  3006                     move.w     D0, D6
  9258. 00005CE4  5246                     addq.w     D6, 1
  9259. 00005CE6  B646                     cmp.w      D3, D6
  9260. 00005CE8  6EF0                     bgt        -0xE /* 00005CDA */
  9261. 00005CEA  6000 01E0                bra        +0x1E2 /* 00005ECC */
  9262. label00005CEE:
  9263. 00005CEE  3A3C E095                move.w     D5, 0xE095
  9264. 00005CF2  6000 01D8                bra        +0x1DA /* 00005ECC */
  9265. 00005CF6  7000                     moveq.l    D0, 0x00
  9266. 00005CF8  2F00                     move.l     -[A7], D0
  9267. 00005CFA  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  9268. 00005D00  7203                     moveq.l    D1, 0x03
  9269. 00005D02  2F01                     move.l     -[A7], D1
  9270. 00005D04  2F07                     move.l     -[A7], D7
  9271. 00005D06  4EBA AE16                jsr        [PC - 0x51EA /* 00000B1E */]
  9272. 00005D0A  4A40                     tst.w      D0
  9273. 00005D0C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9274. 00005D10  6704                     beq        +0x6 /* 00005D16 */
  9275. 00005D12  7000                     moveq.l    D0, 0x00
  9276. 00005D14  6002                     bra        +0x4 /* 00005D18 */
  9277. label00005D16:
  9278. 00005D16  7001                     moveq.l    D0, 0x01
  9279. label00005D18:
  9280. 00005D18  4880                     ext.w      D0
  9281. 00005D1A  3740 001C                move.w     [A3 + 0x1C], D0
  9282. 00005D1E  6000 01AC                bra        +0x1AE /* 00005ECC */
  9283. 00005D22  7001                     moveq.l    D0, 0x01
  9284. 00005D24  2F00                     move.l     -[A7], D0
  9285. 00005D26  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  9286. 00005D2C  7203                     moveq.l    D1, 0x03
  9287. 00005D2E  2F01                     move.l     -[A7], D1
  9288. 00005D30  2F07                     move.l     -[A7], D7
  9289. 00005D32  4EBA ADEA                jsr        [PC - 0x5216 /* 00000B1E */]
  9290. 00005D36  4A40                     tst.w      D0
  9291. 00005D38  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9292. 00005D3C  6704                     beq        +0x6 /* 00005D42 */
  9293. 00005D3E  7001                     moveq.l    D0, 0x01
  9294. 00005D40  6002                     bra        +0x4 /* 00005D44 */
  9295. label00005D42:
  9296. 00005D42  7000                     moveq.l    D0, 0x00
  9297. label00005D44:
  9298. 00005D44  4880                     ext.w      D0
  9299. 00005D46  3740 001C                move.w     [A3 + 0x1C], D0
  9300. 00005D4A  6000 0180                bra        +0x182 /* 00005ECC */
  9301. 00005D4E  206E FFDC                movea.l    A0, [A6 - 0x24]
  9302. 00005D52  7062                     moveq.l    D0, 0x62
  9303. 00005D54  B068 0146                cmp.w      D0, [A0 + 0x146]
  9304. 00005D58  6606                     bne        +0x8 /* 00005D60 */
  9305. 00005D5A  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9306. 00005D5C  6000 016E                bra        +0x170 /* 00005ECC */
  9307. label00005D60:
  9308. 00005D60  206E FFDC                movea.l    A0, [A6 - 0x24]
  9309. 00005D64  7000                     moveq.l    D0, 0x00
  9310. 00005D66  1028 0038                move.b     D0, [A0 + 0x38]
  9311. 00005D6A  4A80                     tst.l      D0
  9312. 00005D6C  7260                     moveq.l    D1, 0x60
  9313. 00005D6E  C200                     and.b      D1, D0
  9314. 00005D70  EA09                     lsr        D1.b, 5
  9315. 00005D72  7000                     moveq.l    D0, 0x00
  9316. 00005D74  1001                     move.b     D0, D1
  9317. 00005D76  4A80                     tst.l      D0
  9318. 00005D78  3740 001C                move.w     [A3 + 0x1C], D0
  9319. 00005D7C  6000 014E                bra        +0x150 /* 00005ECC */
  9320. 00005D80  206E FFDC                movea.l    A0, [A6 - 0x24]
  9321. 00005D84  7062                     moveq.l    D0, 0x62
  9322. 00005D86  B068 0146                cmp.w      D0, [A0 + 0x146]
  9323. 00005D8A  6606                     bne        +0x8 /* 00005D92 */
  9324. 00005D8C  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9325. 00005D8E  6000 013C                bra        +0x13E /* 00005ECC */
  9326. label00005D92:
  9327. 00005D92  206E FFDC                movea.l    A0, [A6 - 0x24]
  9328. 00005D96  7000                     moveq.l    D0, 0x00
  9329. 00005D98  1028 0038                move.b     D0, [A0 + 0x38]
  9330. 00005D9C  4A80                     tst.l      D0
  9331. 00005D9E  323C 0080                move.w     D1, 0x80
  9332. 00005DA2  C200                     and.b      D1, D0
  9333. 00005DA4  6704                     beq        +0x6 /* 00005DAA */
  9334. 00005DA6  7001                     moveq.l    D0, 0x01
  9335. 00005DA8  6002                     bra        +0x4 /* 00005DAC */
  9336. label00005DAA:
  9337. 00005DAA  7000                     moveq.l    D0, 0x00
  9338. label00005DAC:
  9339. 00005DAC  4880                     ext.w      D0
  9340. 00005DAE  3740 001C                move.w     [A3 + 0x1C], D0
  9341. 00005DB2  6000 0118                bra        +0x11A /* 00005ECC */
  9342. 00005DB6  206E FFDC                movea.l    A0, [A6 - 0x24]
  9343. 00005DBA  7062                     moveq.l    D0, 0x62
  9344. 00005DBC  B068 0146                cmp.w      D0, [A0 + 0x146]
  9345. 00005DC0  6606                     bne        +0x8 /* 00005DC8 */
  9346. 00005DC2  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9347. 00005DC4  6000 0106                bra        +0x108 /* 00005ECC */
  9348. label00005DC8:
  9349. 00005DC8  206E FFDC                movea.l    A0, [A6 - 0x24]
  9350. 00005DCC  7000                     moveq.l    D0, 0x00
  9351. 00005DCE  1028 003B                move.b     D0, [A0 + 0x3B]
  9352. 00005DD2  4A80                     tst.l      D0
  9353. 00005DD4  7240                     moveq.l    D1, 0x40
  9354. 00005DD6  C200                     and.b      D1, D0
  9355. 00005DD8  6704                     beq        +0x6 /* 00005DDE */
  9356. 00005DDA  7001                     moveq.l    D0, 0x01
  9357. 00005DDC  6002                     bra        +0x4 /* 00005DE0 */
  9358. label00005DDE:
  9359. 00005DDE  7000                     moveq.l    D0, 0x00
  9360. label00005DE0:
  9361. 00005DE0  4880                     ext.w      D0
  9362. 00005DE2  3740 001C                move.w     [A3 + 0x1C], D0
  9363. 00005DE6  6000 00E4                bra        +0xE6 /* 00005ECC */
  9364. 00005DEA  206E FFDC                movea.l    A0, [A6 - 0x24]
  9365. 00005DEE  7062                     moveq.l    D0, 0x62
  9366. 00005DF0  B068 0146                cmp.w      D0, [A0 + 0x146]
  9367. 00005DF4  6606                     bne        +0x8 /* 00005DFC */
  9368. 00005DF6  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9369. 00005DF8  6000 00D2                bra        +0xD4 /* 00005ECC */
  9370. label00005DFC:
  9371. 00005DFC  206E FFDC                movea.l    A0, [A6 - 0x24]
  9372. 00005E00  7000                     moveq.l    D0, 0x00
  9373. 00005E02  1028 003C                move.b     D0, [A0 + 0x3C]
  9374. 00005E06  4A80                     tst.l      D0
  9375. 00005E08  7203                     moveq.l    D1, 0x03
  9376. 00005E0A  C200                     and.b      D1, D0
  9377. 00005E0C  7000                     moveq.l    D0, 0x00
  9378. 00005E0E  1001                     move.b     D0, D1
  9379. 00005E10  4A80                     tst.l      D0
  9380. 00005E12  3740 001C                move.w     [A3 + 0x1C], D0
  9381. 00005E16  6000 00B4                bra        +0xB6 /* 00005ECC */
  9382. 00005E1A  206E FFDC                movea.l    A0, [A6 - 0x24]
  9383. 00005E1E  7000                     moveq.l    D0, 0x00
  9384. 00005E20  1028 0032                move.b     D0, [A0 + 0x32]
  9385. 00005E24  4A80                     tst.l      D0
  9386. 00005E26  7240                     moveq.l    D1, 0x40
  9387. 00005E28  C200                     and.b      D1, D0
  9388. 00005E2A  6704                     beq        +0x6 /* 00005E30 */
  9389. 00005E2C  7001                     moveq.l    D0, 0x01
  9390. 00005E2E  6002                     bra        +0x4 /* 00005E32 */
  9391. label00005E30:
  9392. 00005E30  7000                     moveq.l    D0, 0x00
  9393. label00005E32:
  9394. 00005E32  4880                     ext.w      D0
  9395. 00005E34  3740 001C                move.w     [A3 + 0x1C], D0
  9396. 00005E38  6000 0092                bra        +0x94 /* 00005ECC */
  9397. 00005E3C  206E FFDC                movea.l    A0, [A6 - 0x24]
  9398. 00005E40  7000                     moveq.l    D0, 0x00
  9399. 00005E42  1028 0032                move.b     D0, [A0 + 0x32]
  9400. 00005E46  4A80                     tst.l      D0
  9401. 00005E48  7230                     moveq.l    D1, 0x30
  9402. 00005E4A  C200                     and.b      D1, D0
  9403. 00005E4C  E809                     lsr        D1.b, 4
  9404. 00005E4E  7000                     moveq.l    D0, 0x00
  9405. 00005E50  1001                     move.b     D0, D1
  9406. 00005E52  4A80                     tst.l      D0
  9407. 00005E54  3740 001C                move.w     [A3 + 0x1C], D0
  9408. 00005E58  6072                     bra        +0x74 /* 00005ECC */
  9409. 00005E5A  206E FFDC                movea.l    A0, [A6 - 0x24]
  9410. 00005E5E  7000                     moveq.l    D0, 0x00
  9411. 00005E60  1028 0032                move.b     D0, [A0 + 0x32]
  9412. 00005E64  4A80                     tst.l      D0
  9413. 00005E66  720C                     moveq.l    D1, 0x0C
  9414. 00005E68  C200                     and.b      D1, D0
  9415. 00005E6A  E409                     lsr        D1.b, 2
  9416. 00005E6C  7000                     moveq.l    D0, 0x00
  9417. 00005E6E  1001                     move.b     D0, D1
  9418. 00005E70  4A80                     tst.l      D0
  9419. 00005E72  3740 001C                move.w     [A3 + 0x1C], D0
  9420. 00005E76  6054                     bra        +0x56 /* 00005ECC */
  9421. 00005E78  206E FFDC                movea.l    A0, [A6 - 0x24]
  9422. 00005E7C  7000                     moveq.l    D0, 0x00
  9423. 00005E7E  1028 0032                move.b     D0, [A0 + 0x32]
  9424. 00005E82  4A80                     tst.l      D0
  9425. 00005E84  7203                     moveq.l    D1, 0x03
  9426. 00005E86  C200                     and.b      D1, D0
  9427. 00005E88  7000                     moveq.l    D0, 0x00
  9428. 00005E8A  1001                     move.b     D0, D1
  9429. 00005E8C  4A80                     tst.l      D0
  9430. 00005E8E  3740 001C                move.w     [A3 + 0x1C], D0
  9431. 00005E92  6038                     bra        +0x3A /* 00005ECC */
  9432. 00005E94  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9433. 00005E96  6034                     bra        +0x36 /* 00005ECC */
  9434. 00005E98  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  9435. 00005E9C  486B 001C                pea.l      [A3 + 0x1C]
  9436. 00005EA0  7000                     moveq.l    D0, 0x00
  9437. 00005EA2  2F00                     move.l     -[A7], D0
  9438. 00005EA4  4878 008A                push.l     0x8A
  9439. 00005EA8  4EBA C614                jsr        [PC - 0x39EC /* 000024BE */]
  9440. 00005EAC  3A00                     move.w     D5, D0
  9441. 00005EAE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9442. 00005EB2  6018                     bra        +0x1A /* 00005ECC */
  9443. 00005EB4  206E FFDC                movea.l    A0, [A6 - 0x24]
  9444. 00005EB8  3768 0014 001C           move.w     [A3 + 0x1C], [A0 + 0x14]
  9445. 00005EBE  206E FFDC                movea.l    A0, [A6 - 0x24]
  9446. 00005EC2  3768 001A 001E           move.w     [A3 + 0x1E], [A0 + 0x1A]
  9447. 00005EC8  6002                     bra        +0x4 /* 00005ECC */
  9448. label00005ECA:
  9449. 00005ECA  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9450. label00005ECC:
  9451. 00005ECC  226E FFD8                movea.l    A1, [A6 - 0x28]
  9452. 00005ED0  3029 0002                move.w     D0, [A1 + 0x2]
  9453. 00005ED4  48C0                     ext.l      D0
  9454. 00005ED6  226E FFD8                movea.l    A1, [A6 - 0x28]
  9455. 00005EDA  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  9456. 00005EDE  A02A                     syscall    HUnlock
  9457. 00005EE0  226E 0008                movea.l    A1, [A6 + 0x8]
  9458. 00005EE4  2069 0014                movea.l    A0, [A1 + 0x14]
  9459. 00005EE8  A02A                     syscall    HUnlock
  9460. 00005EEA  3D45 0010                move.w     [A6 + 0x10], D5
  9461. 00005EEE  4CEE 18F8 FFB8           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x48]
  9462. 00005EF4  4E5E                     unlink     A6
  9463. 00005EF6  4E74 0008                rtd        0x0008
  9464. fn00005EFA:
  9465. 00005EFA  205F                     movea.l    A0, [A7]+
  9466. 00005EFC  301F                     move.w     D0, [A7]+
  9467. 00005EFE  4297                     clr.l      [A7]
  9468. 00005F00  4640                     not.w      D0
  9469. 00005F02  B078 01D2                cmp.w      D0, [0x000001D2 /* UnitNtryCnt */]
  9470. 00005F06  640A                     bcc        +0xC /* 00005F12 */
  9471. 00005F08  E548                     lsl        D0.w, 2
  9472. 00005F0A  2278 011C                movea.l    A1, [0x0000011C /* UTableBase */]
  9473. 00005F0E  2EB1 0000                move.l     [A7], [A1 + D0.w]
  9474. label00005F12:
  9475. 00005F12  4ED0                     jmp        [A0]
  9476. fn00005F14:
  9477. 00005F14  225F                     movea.l    A1, [A7]+
  9478. 00005F16  201F                     move.l     D0, [A7]+
  9479. 00005F18  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  9480. 00005F1E  6606                     bne        +0x8 /* 00005F26 */
  9481. 00005F20  A055                     syscall    StripAddress
  9482. 00005F22  2E80                     move.l     [A7], D0
  9483. 00005F24  4ED1                     jmp        [A1]
  9484. label00005F26:
  9485. 00005F26  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  9486. 00005F2A  2E80                     move.l     [A7], D0
  9487. 00005F2C  4ED1                     jmp        [A1]
  9488.